mirror of
				https://github.com/tooot-app/app
				synced 2025-06-05 22:19:13 +02:00 
			
		
		
		
	Try without Sentry
This commit is contained in:
		| @@ -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 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user