remove error message on missing .svg (#3074)
malik1004x committed
Mar 13, 2026 at 16:28 UTC
dd8a0ec904b99921d1be0021b3ad28d15e51890a
1 file changed
+5
lib/utils/exception_handler.dart
+5
@@ -117,6 +117,10 @@ class ExceptionHandler {
117
if (await onLedgerError(errorDetails)) return;
118
119
if (kDebugMode || kProfileMode) {
120
+ if(_ignoreError(errorDetails.exception.toString()) ||
121
+ _ignoreError(errorDetails.stack.toString())) {
122
+ printV("(BELOW ERROR IS IGNORED AND WILL NOT TRIGGER POPUP IN PROD)");
123
+ }
124
FlutterError.presentError(errorDetails);
125
errorDetails.toString().split("\n").forEach(printV);
126
return;
@@ -282,6 +286,7 @@ class ExceptionHandler {
286
"Invalid SVG",
287
"SVG format error",
288
"SvgPicture",
289
+ "Unable to load asset",
290
// Temporary ignored, More context: Flutter secure storage reads the values as null some times
291
// probably when the device was locked and then opened on Cake
292
// this is solved by a restart of the app