Skip to content

Commit 622a64c

Browse files
committed
Enable HTTP failure details logging
1 parent dc391b7 commit 622a64c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/errors.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@ export function initSentry(dsn: string | undefined) {
2020
],
2121
integrations: [
2222
Sentry.dedupeIntegration(),
23-
Sentry.extraErrorDataIntegration()
23+
Sentry.extraErrorDataIntegration(),
24+
Sentry.httpClientIntegration()
2425
],
26+
sendDefaultPii: true, // We don't actually collect or send PII, but this is required to debug HTTP headers
2527
beforeSend: function (event, hint) {
2628
if (!sentryInitialized) return null; // Don't send errors if we're disabled
2729

0 commit comments

Comments
 (0)