debug server
This commit is contained in:
@@ -46,10 +46,10 @@ export class GlobalExceptionFilter implements ExceptionFilter {
|
|||||||
message,
|
message,
|
||||||
path: request.url,
|
path: request.url,
|
||||||
timestamp: new Date().toISOString(),
|
timestamp: new Date().toISOString(),
|
||||||
...(process.env.NODE_ENV !== 'production' && {
|
// ...(process.env.NODE_ENV !== 'production' && {
|
||||||
raw: exceptionResponse,
|
raw: exceptionResponse,
|
||||||
stack: exception instanceof Error ? exception.stack : undefined,
|
stack: exception instanceof Error ? exception.stack : undefined,
|
||||||
}),
|
// }),
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user