Skip to content

Commit

Permalink
Update packages/node/src/integrations/http/SentryHttpInstrumentation.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Lukas Stracke <[email protected]>
  • Loading branch information
mydea and Lms24 authored Jan 31, 2025
1 parent 1e2a35e commit 3a5fb3a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ function addSentryHeadersToRequestOptions(

Object.entries(addedHeaders).forEach(([k, v]) => {
// We do not want to overwrite existing headers here
// If the core UndiciInstrumentation is registered, it will already have set the headers
// If the core HttpInstrumentation is registered, it will already have set the headers
// We do not want to add any then
if (!headers[k]) {
headers[k] = v;
Expand Down

0 comments on commit 3a5fb3a

Please sign in to comment.