🩹 back: logger used to merge AsyncContext for each entry, it should not (#714)

This commit is contained in:
Eric Doughty-Papassideris
2024-11-11 01:21:32 +01:00
committed by Anton Shepilov
parent dcadfa4231
commit b04f64a2b0
@@ -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) {