Skip to content

Commit

Permalink
bypass sentry in editor builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Codel1417 committed Dec 1, 2024
1 parent cb7d643 commit 9e5363d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ Future<void> initMainApp() async {
}

Future<void> startSentryApp(Widget child) async {
if (kDebugMode) {
runApp(child);
}
mainLogger.fine("Init Sentry");
String environment = await getSentryEnvironment();
DynamicConfigInfo dynamicConfigInfo = await getDynamicConfigInfo();
Expand Down

0 comments on commit 9e5363d

Please sign in to comment.