Specify environment for sentry.io

This commit is contained in:
Oliver 2021-07-29 15:25:29 +10:00
parent 6d1bed29c0
commit 489f4bee50

View file

@ -21,6 +21,7 @@ Future<void> main() async {
await Sentry.init((options) {
options.dsn = SENTRY_DSN_KEY;
options.environment = isInDebugMode() ? "debug" : "release";
});
WidgetsFlutterBinding.ensureInitialized();