From 73e8fc71bb67db9710a11286011a3839dfbeddab Mon Sep 17 00:00:00 2001 From: radmehr Date: Tue, 25 Aug 2026 23:38:24 +0330 Subject: [PATCH] debug server --- src/common/filters/global-exception.filter.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/common/filters/global-exception.filter.ts b/src/common/filters/global-exception.filter.ts index 7c24442..b7a109a 100644 --- a/src/common/filters/global-exception.filter.ts +++ b/src/common/filters/global-exception.filter.ts @@ -46,10 +46,10 @@ export class GlobalExceptionFilter implements ExceptionFilter { message, path: request.url, timestamp: new Date().toISOString(), - ...(process.env.NODE_ENV !== 'production' && { - raw: exceptionResponse, - stack: exception instanceof Error ? exception.stack : undefined, - }), + // ...(process.env.NODE_ENV !== 'production' && { + raw: exceptionResponse, + stack: exception instanceof Error ? exception.stack : undefined, + // }), }); } }