mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-12 02:05:29 +00:00
Specify environment for sentry.io
This commit is contained in:
@ -21,6 +21,7 @@ Future<void> main() async {
|
||||
|
||||
await Sentry.init((options) {
|
||||
options.dsn = SENTRY_DSN_KEY;
|
||||
options.environment = isInDebugMode() ? "debug" : "release";
|
||||
});
|
||||
|
||||
WidgetsFlutterBinding.ensureInitialized();
|
||||
|
Reference in New Issue
Block a user