We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f27ea8a commit 1f29dadCopy full SHA for 1f29dad
src/telemetry/requestLogger.ts
@@ -66,7 +66,7 @@ function finishLog<SLocals extends AnyServiceLocals = ServiceLocals<Configuratio
66
}
67
68
const prefs = (res.locals as WithLogPrefs)[LOG_PREFS];
69
- if (prefs.logged) {
+ if (prefs?.logged) {
70
// This happens when error handler runs, but onEnd hasn't fired yet. We only log the first one.
71
return;
72
0 commit comments