mirror of
https://github.com/inventree/inventree-app.git
synced 2025-04-28 13:36:50 +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) {
|
await Sentry.init((options) {
|
||||||
options.dsn = SENTRY_DSN_KEY;
|
options.dsn = SENTRY_DSN_KEY;
|
||||||
|
options.environment = isInDebugMode() ? "debug" : "release";
|
||||||
});
|
});
|
||||||
|
|
||||||
WidgetsFlutterBinding.ensureInitialized();
|
WidgetsFlutterBinding.ensureInitialized();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user