mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Bump Sentry
This commit is contained in:
@ -8,7 +8,16 @@ const sentry = () => {
|
||||
Sentry.init({
|
||||
enabled: !isDevelopment,
|
||||
dsn: 'https://53348b60ff844d52886e90251b3a5f41@o917354.ingest.sentry.io/6410576',
|
||||
autoSessionTracking: true
|
||||
beforeBreadcrumb: breadcrumb => {
|
||||
if (breadcrumb.type === 'http') {
|
||||
const url = breadcrumb.data?.url
|
||||
if (url.includes('exp.host/') || url.includes('tooot.app/') || url.includes('/api/v')) {
|
||||
return breadcrumb
|
||||
}
|
||||
return null
|
||||
}
|
||||
return breadcrumb
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user