Skip to content

Commit

Permalink
fix: restore headers in debug logcontext
Browse files Browse the repository at this point in the history
  • Loading branch information
aarlaud committed Aug 1, 2024
1 parent db92412 commit 05e71ce
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 05e71ce

Please sign in to comment.