mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-06-29 04:49:51 +00: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:
parent
ffe1c115fa
commit
53efdced68
1 changed files with 1 additions and 1 deletions
|
@ -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');
|
state = FailureState('This is not a valid backup file, please make sure you selected the correct backup file');
|
||||||
} else {
|
} else {
|
||||||
state = FailureState('Failed to restore backup, please try again');
|
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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue