fix(desktop): suppress browser API Sentry errors in prod (#25972)
This commit is contained in:
parent
89afac3d9d
commit
7c8cf6ca5b
@ -43,7 +43,11 @@ if (import.meta.env.VITE_SENTRY_DSN) {
|
||||
integrations: (integrations) => {
|
||||
return integrations.filter(
|
||||
(i) =>
|
||||
i.name !== "Breadcrumbs" && !(import.meta.env.OPENCODE_CHANNEL === "prod" && i.name === "GlobalHandlers"),
|
||||
i.name !== "Breadcrumbs" &&
|
||||
!(
|
||||
import.meta.env.OPENCODE_CHANNEL === "prod" &&
|
||||
(i.name === "GlobalHandlers" || i.name === "BrowserApiErrors")
|
||||
),
|
||||
)
|
||||
},
|
||||
})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user