mirror of
https://github.com/tooot-app/app
synced 2025-01-06 23:01:51 +01:00
Try without Sentry
This commit is contained in:
parent
7c6aba77ba
commit
e820ce3690
@ -192,7 +192,7 @@ const Compose: React.FC<SharedComposeProp> = ({
|
||||
navigation.goBack()
|
||||
})
|
||||
.catch(error => {
|
||||
Sentry.Native.captureException(error)
|
||||
// Sentry.Native.captureException(error)
|
||||
haptics('Error')
|
||||
composeDispatch({ type: 'posting', payload: false })
|
||||
Alert.alert(t('heading.right.alert.title'), undefined, [
|
||||
|
@ -4,11 +4,11 @@ import log from './log'
|
||||
|
||||
const sentry = () => {
|
||||
log('log', 'Sentry', 'initializing')
|
||||
return Sentry.init({
|
||||
dsn: Constants.manifest.extra.sentryDSN,
|
||||
enableInExpoDevelopment: false,
|
||||
debug: __DEV__
|
||||
})
|
||||
// return Sentry.init({
|
||||
// dsn: Constants.manifest.extra.sentryDSN,
|
||||
// enableInExpoDevelopment: false,
|
||||
// debug: __DEV__
|
||||
// })
|
||||
}
|
||||
|
||||
export default sentry
|
||||
|
Loading…
Reference in New Issue
Block a user