From 746eab211d48bee90c8c0072e1c738ac607eefce Mon Sep 17 00:00:00 2001 From: Eric Doughty-Papassideris Date: Mon, 11 Nov 2024 01:21:32 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9=20back:=20logger=20used=20to=20mer?= =?UTF-8?q?ge=20AsyncContext=20for=20each=20entry,=20it=20should=20not=20(?= =?UTF-8?q?#714)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tdrive/backend/node/src/core/platform/framework/logger.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tdrive/backend/node/src/core/platform/framework/logger.ts b/tdrive/backend/node/src/core/platform/framework/logger.ts index cdc8ea68e..5d75ea925 100644 --- a/tdrive/backend/node/src/core/platform/framework/logger.ts +++ b/tdrive/backend/node/src/core/platform/framework/logger.ts @@ -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) {