Remove glitchtip integration

This commit is contained in:
Jon Staab
2026-01-16 15:19:52 -08:00
parent 798253a50e
commit 82ab7a043f
5 changed files with 2 additions and 230 deletions
-23
View File
@@ -1,23 +0,0 @@
import {noop} from "@welshman/lib"
import * as Sentry from "@sentry/browser"
import {getSetting} from "@app/core/state"
export const setupTracking = () => {
if (import.meta.env.VITE_GLITCHTIP_API_KEY) {
Sentry.init({
dsn: import.meta.env.VITE_GLITCHTIP_API_KEY,
beforeSend(event: any) {
if (!getSetting("report_errors")) {
return null
}
return event
},
integrations(integrations) {
return integrations.filter(integration => integration.name !== "Breadcrumbs")
},
})
}
return noop
}