Skip to content

Commit

Permalink
Merge pull request #811 from snyk/fix/headers-in-debug-logcontext
Browse files Browse the repository at this point in the history
fix: restore headers in debug logcontext
  • Loading branch information
aarlaud authored Aug 7, 2024
2 parents 032ea4a + 05e71ce commit 04d1c15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/common/relay/forwardWebsocketRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export const forwardWebSocketRequest = (
emit = legacyOverrideEmit;
}

const simplifiedContext = logContext;
const simplifiedContext = structuredClone(logContext);
delete simplifiedContext.requestHeaders;
logger.info(
simplifiedContext,
Expand Down

0 comments on commit 04d1c15

Please sign in to comment.