Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

sentry: Drop HttpClientIntegration.

Alex Vandiver75008d5f500f
diff --git a/web/src/sentry.ts b/web/src/sentry.ts
index 036c6ba4044..16ae241d8a0 100644
--- a/web/src/sentry.ts
+++ b/web/src/sentry.ts
@@ -1,5 +1,4 @@
import * as Sentry from "@sentry/browser";
-import {HttpClient as HttpClientIntegration} from "@sentry/integrations";
import {BrowserTracing} from "@sentry/tracing";
import _ from "lodash";
@@ -54,10 +53,6 @@ if (page_params.server_sentry_dsn) {
new BrowserTracing({
tracePropagationTargets: url_matches,
}),
- new HttpClientIntegration({
- failedRequestStatusCodes: [500, 502, 503, 504],
- failedRequestTargets: url_matches,
- }),
],
allowUrls: url_matches,
sampleRate: page_params.server_sentry_sample_rate || 0,