|
@@ -25,7 +25,11 @@ export class AllExceptionsFilter implements ExceptionFilter {
|
|
|
res.message = res.message.join()
|
|
res.message = res.message.join()
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- Logger.error(`status=${httpStatus}, path=${path}, msg=${res.message}`, 'GlobalExceptionFilter')
|
|
|
|
|
|
|
+ Logger.error(
|
|
|
|
|
+ `status=${httpStatus}, path=${path}, msg=${res.message}`,
|
|
|
|
|
+ (exception as any).stack,
|
|
|
|
|
+ 'GlobalExceptionFilter'
|
|
|
|
|
+ )
|
|
|
if (!(exception instanceof HttpException)) {
|
|
if (!(exception instanceof HttpException)) {
|
|
|
console.trace(exception)
|
|
console.trace(exception)
|
|
|
}
|
|
}
|