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