2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-12 02:05:29 +00:00

Sentry fix (#395)

* Extra sentry diagnostics

* Fix unit test

* Unit test updates

* More unit test updates
This commit is contained in:
Oliver
2023-07-07 21:38:04 +10:00
committed by GitHub
parent 6fe23fa846
commit 2babf27db5
6 changed files with 19 additions and 5 deletions

View File

@ -38,6 +38,8 @@ Future<void> main() async {
options.dsn = SENTRY_DSN_KEY;
options.release = release;
options.environment = isInDebugMode() ? "debug" : "release";
options.diagnosticLevel = SentryLevel.debug;
options.attachStacktrace = true;
});
// Pass any flutter errors off to the Sentry reporting context!