From e820ce3690be510ad683ff5fd82bfb3fc09bca35 Mon Sep 17 00:00:00 2001 From: Zhiyuan Zheng Date: Fri, 22 Jan 2021 02:04:00 +0100 Subject: [PATCH] Try without Sentry --- src/screens/Shared/Compose.tsx | 2 +- src/startup/sentry.ts | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/screens/Shared/Compose.tsx b/src/screens/Shared/Compose.tsx index 310e2d79..14f0d25b 100644 --- a/src/screens/Shared/Compose.tsx +++ b/src/screens/Shared/Compose.tsx @@ -192,7 +192,7 @@ const Compose: React.FC = ({ 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, [ diff --git a/src/startup/sentry.ts b/src/startup/sentry.ts index e7e0a27a..75d33a5e 100644 --- a/src/startup/sentry.ts +++ b/src/startup/sentry.ts @@ -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