Skip to content

Commit

Permalink
chore: disable sentry locally
Browse files Browse the repository at this point in the history
  • Loading branch information
inpt333 committed Jan 1, 2025
1 parent 5bd3077 commit d28f794
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ Future<void> main() async {
.uriLinkStream
.listen((uri) => store.dispatch(HandleDeeplinkAction(uri.path)));

initSentry(() => runApp(ParApp(store: store)));
kReleaseMode
? initSentry(() => runApp(ParApp(store: store)))
: runApp(ParApp(store: store));
}

Future<Store<AppState>> _initStore(SupabaseClient supabase) async {
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ sentry:
upload_debug_symbols: true
upload_source_maps: true
upload_sources: true
project: flutter
project: grup
org: sealambda
log_level: error
commits: auto
Expand Down

0 comments on commit d28f794

Please sign in to comment.