diff --git a/auth/lib/core/logging/super_logging.dart b/auth/lib/core/logging/super_logging.dart index 2d2972d64..39a983874 100644 --- a/auth/lib/core/logging/super_logging.dart +++ b/auth/lib/core/logging/super_logging.dart @@ -167,7 +167,7 @@ class SuperLogging { await setupLogDir(); } if (sentryIsEnabled) { - await setupSentry(); + setupSentry().ignore(); } Logger.root.level = Level.ALL; @@ -250,7 +250,7 @@ class SuperLogging { // add error to sentry queue if (sentryIsEnabled && rec.error != null) { - await _sendErrorToSentry(rec.error!, null); + _sendErrorToSentry(rec.error!, null).ignore(); } } diff --git a/auth/lib/ui/tools/lock_screen.dart b/auth/lib/ui/tools/lock_screen.dart index ca8ae1e9b..c2e725f1e 100644 --- a/auth/lib/ui/tools/lock_screen.dart +++ b/auth/lib/ui/tools/lock_screen.dart @@ -56,7 +56,8 @@ class _LockScreenState extends State with WidgetsBindingObserver { text: context.l10n.unlock, iconData: Icons.lock_open_outlined, onTap: () async { - await _showLockScreen(source: "tapUnlock"); + // ignore: unawaited_futures + _showLockScreen(source: "tapUnlock"); }, ), ),