We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5e7852 commit 89ed68fCopy full SHA for 89ed68f
1 file changed
src/main/app.ts
@@ -119,6 +119,7 @@ export class App {
119
private setupErrorHandling(): void {
120
// Global error handler
121
this.app.use((error: Error, req: Request, res: Response, next: NextFunction) => {
122
+ console.error(error);
123
this.logger.error('Unhandled error', {
124
error: error.message,
125
stack: error.stack,
0 commit comments