Skip to content

Commit

Permalink
chore: Update Exception Filter
Browse files Browse the repository at this point in the history
  • Loading branch information
MinhhTien committed May 5, 2024
1 parent 2588705 commit 0eb66d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/exceptions/app-exception.filter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export class AppExceptionFilter extends BaseExceptionFilter {
})
}
if (process.env.NODE_ENV !== 'test') {
this.appLogger.error(message, exception.stack)
this.appLogger.error(message, httpStatus, exception.stack)
}
}
private _parseError(exception) {
Expand Down

0 comments on commit 0eb66d8

Please sign in to comment.