From ebcae34116f8067d8bce16e8083c4cbd4081af13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Alvarez?= Date: Wed, 6 Nov 2024 10:18:48 +0100 Subject: [PATCH] fix(packages/sui-logger): add missing trackers param --- packages/sui-logger/src/server.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/sui-logger/src/server.js b/packages/sui-logger/src/server.js index 7f213e351..f0585b16e 100644 --- a/packages/sui-logger/src/server.js +++ b/packages/sui-logger/src/server.js @@ -41,9 +41,10 @@ export const logErrorsMiddleware = (Trackers, error, req, res, next) => { next(error) } -export const createServerLogger = ({req, userId, trackerName} = {}) => { +export const createServerLogger = ({Trackers, req, userId, trackerName} = {}) => { return createLogger({ ...extractFrom(req), + Trackers, listenUnhandled: createListenUnhandled(), userId, trackerName