Skip to content

Commit

Permalink
fix: added session to logger output
Browse files Browse the repository at this point in the history
  • Loading branch information
titanism committed Dec 18, 2024
1 parent b1072f8 commit 27eb81d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers/on-data-mx.js
Original file line number Diff line number Diff line change
Expand Up @@ -1008,7 +1008,7 @@ async function forward(recipient, headers, session, raw, body) {
) {
// log for admins so we can see in real-time all the rewrites
err.isCodeBug = true;
logger.fatal(err);
logger.fatal(err, { session });

// (the below logic is duplicated from elsewhere in this file)
session.rewriteFriendlyFrom = true;
Expand Down

0 comments on commit 27eb81d

Please sign in to comment.