safety checks and message fix
This commit is contained in:
parent
099725063f
commit
322acbd694
2 changed files with 9 additions and 5 deletions
|
|
@ -1,3 +1,4 @@
|
|||
import "dart:developer";
|
||||
import "dart:io";
|
||||
import "package:fast_immutable_collections/fast_immutable_collections.dart";
|
||||
import "package:flutter/foundation.dart";
|
||||
|
|
@ -43,6 +44,7 @@ void showError(Object error, [StackTrace? stackTrace]) {
|
|||
if (error.toString().contains("Invalid image data")) return;
|
||||
|
||||
debugPrintStack(stackTrace: stackTrace, label: error.toString());
|
||||
debugger();
|
||||
if (navigatorKey.currentContext != null) {
|
||||
Future.delayed(
|
||||
Duration.zero,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue