feat: log unhandled errors and pretty dev output (WealthLedger/backend#120) (#126)
Backend verify / commits (push) Skipped
Backend verify / security (push) Successful in 9s
Backend verify / verify (push) Failing after 5m39s

feat: log unhandled errors and pretty dev output (#120)
This commit was merged in pull request #126.
This commit is contained in:
2026-10-24 15:06:34 +03:00
parent d1f6969dc7
commit 966a1f793a
8 changed files with 251 additions and 48 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ export function configureApp(app: INestApplication): void {
exceptionFactory: (message) => new BadRequestException({ message }),
}),
);
app.useGlobalFilters(new HttpExceptionFilter());
app.useGlobalFilters(new HttpExceptionFilter(app.get(StructuredLogger)));
app.enableShutdownHooks();
}