mirror of
https://github.com/EnixCoda/Gitako.git
synced 2026-03-11 08:54:44 +00:00
fix: default integrations was disabled
This commit is contained in:
parent
0a375876f7
commit
cdca3ba4db
1 changed files with 0 additions and 1 deletions
|
|
@ -21,7 +21,6 @@ const sentryOptions: Sentry.BrowserOptions = {
|
|||
environment: IN_PRODUCTION_MODE ? 'production' : 'development',
|
||||
// Not safe to activate all integrations in non-Chrome environments where Gitako may not run in top context
|
||||
// https://docs.sentry.io/platforms/javascript/#sdk-integrations
|
||||
defaultIntegrations: false,
|
||||
integrations: integrations => integrations.filter(({ name }) => name !== 'TryCatch'),
|
||||
beforeSend(event) {
|
||||
const message = event.exception?.values?.[0].value || event.message
|
||||
|
|
|
|||
Loading…
Reference in a new issue