mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 11:36:24 +00:00
Specify environment for sentry.io
This commit is contained in:
parent
6d1bed29c0
commit
489f4bee50
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue