You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(node): Ensure adding sentry-trace and baggage headers via SentryHttpInstrumentation doesn't crash (#16473)
On Node > 22.10.0, when spans are off, the `SentryHttpInstrumentation`
attempts adding `sentry-trace` and `baggage` headers to requests. Due to
race-conditions, this can error in cases where the request was already
sent/finished prior to setting the headers.
This fix prevents this by wrapping the logic in a try/catch.
Fixes: #16438
0 commit comments