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