mirror of
https://github.com/labring/FastGPT.git
synced 2026-02-27 01:02:22 +08:00
remove invalid log (#6425)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user