Skip to content

Commit 99cd5dc

Browse files
chore(mobile): disable sentry in dev mode
1 parent 91ca7a6 commit 99cd5dc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/mobile/src/app/_layout.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ Sentry.init({
4747
dsn: process.env.EXPO_PUBLIC_SENTRY_DSN,
4848
debug: __DEV__,
4949
tracesSampleRate: 1.0,
50+
enabled: !__DEV__,
5051
});
5152

5253
// Catch any errors thrown by the Layout component

0 commit comments

Comments
 (0)