From 9e5363d6d0bf943a8ed6d116b9b688bf02a43059 Mon Sep 17 00:00:00 2001 From: Codel1417 Date: Sat, 30 Nov 2024 21:36:45 -0500 Subject: [PATCH] bypass sentry in editor builds --- lib/main.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/main.dart b/lib/main.dart index 7ef1b349..052e222d 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -94,6 +94,9 @@ Future initMainApp() async { } Future startSentryApp(Widget child) async { + if (kDebugMode) { + runApp(child); + } mainLogger.fine("Init Sentry"); String environment = await getSentryEnvironment(); DynamicConfigInfo dynamicConfigInfo = await getDynamicConfigInfo();