Skip to content

Commit

Permalink
🩹 back: logger used to merge AsyncContext for each entry, it should n…
Browse files Browse the repository at this point in the history
…ot (#714)
  • Loading branch information
ericlinagora authored and shepilov committed Nov 20, 2024
1 parent dcadfa4 commit b04f64a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tdrive/backend/node/src/core/platform/framework/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ export const logger = pino({
name: "TdriveApp",
level: config.get("level", "info") || "info",
mixin() {
return executionStorage.getStore() ? executionStorage.getStore() : {};
const store = executionStorage.getStore();
return store ? { ...store } : {};
},
formatters: {
level(label: string) {
Expand Down

0 comments on commit b04f64a

Please sign in to comment.