Skip to content

Commit 89ed68f

Browse files
committed
main
1 parent b5e7852 commit 89ed68f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/main/app.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ export class App {
119119
private setupErrorHandling(): void {
120120
// Global error handler
121121
this.app.use((error: Error, req: Request, res: Response, next: NextFunction) => {
122+
console.error(error);
122123
this.logger.error('Unhandled error', {
123124
error: error.message,
124125
stack: error.stack,

0 commit comments

Comments
 (0)