Commit 62455c00 by Archer Committed by GitHub

remove invalid log (#6425)

parent b11d141d
...@@ -86,12 +86,6 @@ export const NextEntry = ({ ...@@ -86,12 +86,6 @@ export const NextEntry = ({
} catch (error) { } catch (error) {
// Handle Zod validation errors // Handle Zod validation errors
if (error instanceof ZodError) { if (error instanceof ZodError) {
errorLogger.warn('Request validation failed', {
requestId,
method,
url,
error
});
return jsonRes(res, { return jsonRes(res, {
code: 400, code: 400,
message: 'Data validation error', message: 'Data validation error',
...@@ -100,13 +94,6 @@ export const NextEntry = ({ ...@@ -100,13 +94,6 @@ export const NextEntry = ({
}); });
} }
errorLogger.error('Request handler error', {
requestId,
method,
url,
error
});
return jsonRes(res, { return jsonRes(res, {
code: 500, code: 500,
error, error,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment