remove invalid log (#6425)

This commit is contained in:
Archer
2026-02-12 19:56:47 +08:00
committed by GitHub
parent b11d141db3
commit 62455c000c

View File

@@ -86,12 +86,6 @@ export const NextEntry = ({
} catch (error) {
// Handle Zod validation errors
if (error instanceof ZodError) {
errorLogger.warn('Request validation failed', {
requestId,
method,
url,
error
});
return jsonRes(res, {
code: 400,
message: 'Data validation error',
@@ -100,13 +94,6 @@ export const NextEntry = ({
});
}
errorLogger.error('Request handler error', {
requestId,
method,
url,
error
});
return jsonRes(res, {
code: 500,
error,