tooot/src/startup/sentry.ts

15 lines
349 B
TypeScript
Raw Normal View History

2021-01-07 19:13:09 +01:00
import * as Sentry from 'sentry-expo'
2021-01-20 00:39:39 +01:00
import log from './log'
2021-01-07 19:13:09 +01:00
const sentry = () => {
log('log', 'Sentry', 'initializing')
2021-01-23 02:41:50 +01:00
Sentry.init({
dsn: 'https://53348b60ff844d52886e90251b3a5f41@o917354.ingest.sentry.io/6410576',
2022-05-17 23:10:25 +02:00
enableInExpoDevelopment: false,
// debug: !isRelease,
2022-05-18 00:11:31 +02:00
autoSessionTracking: true
2021-01-22 02:21:13 +01:00
})
2021-01-07 19:13:09 +01:00
}
export default sentry