Skip to content

Commit

Permalink
Enable HTTP failure details logging
Browse files Browse the repository at this point in the history
  • Loading branch information
pimterry committed May 7, 2024
1 parent 1fb74b7 commit 822b704
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ export function initSentry(dsn: string | undefined) {
],
integrations: [
Sentry.dedupeIntegration(),
Sentry.extraErrorDataIntegration()
Sentry.extraErrorDataIntegration(),
Sentry.httpClientIntegration()
],
beforeSend: function (event, hint) {
if (!sentryInitialized) return null; // Don't send errors if we're disabled
Expand Down

0 comments on commit 822b704

Please sign in to comment.