fix: more verbose errors in backups (#2196)
* fix: more verbose errors in backups * show user friendly error, but prompt to send the full logs [skip ci] --------- Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
cyan committed
Apr 19, 2025 at 01:13 UTC
53efdced6861d967f6271ef41c631e4fafc7611a
1 file changed
+1
-1
lib/view_model/restore_from_backup_view_model.dart
+1
-1
@@ -50,7 +50,7 @@ abstract class RestoreFromBackupViewModelBase with Store {
50
state = FailureState('This is not a valid backup file, please make sure you selected the correct backup file');
51
} else {
52
state = FailureState('Failed to restore backup, please try again');
53
- ExceptionHandler.onError(FlutterErrorDetails(exception: e, stack: s, silent: true));
53
+ ExceptionHandler.onError(FlutterErrorDetails(exception: e, stack: s));
54
}
55
}
56