Skip to content

Commit

Permalink
fix(packages/sui-logger): add missing trackers param
Browse files Browse the repository at this point in the history
  • Loading branch information
andresz1 committed Nov 6, 2024
1 parent 3c501da commit ebcae34
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/sui-logger/src/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ebcae34

Please sign in to comment.