mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
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>
This commit is contained in:
@@ -50,7 +50,7 @@ abstract class RestoreFromBackupViewModelBase with Store {
|
||||
state = FailureState('This is not a valid backup file, please make sure you selected the correct backup file');
|
||||
} else {
|
||||
state = FailureState('Failed to restore backup, please try again');
|
||||
ExceptionHandler.onError(FlutterErrorDetails(exception: e, stack: s, silent: true));
|
||||
ExceptionHandler.onError(FlutterErrorDetails(exception: e, stack: s));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user