handle get keys exception
This commit is contained in:
parent
d6d54a4e35
commit
d5766485ec
2 changed files with 5 additions and 6 deletions
|
|
@ -25,6 +25,7 @@ angular.module('copayApp.controllers').controller('backupController',
|
|||
|
||||
walletService.getKeys(wallet, function(err, k) {
|
||||
if (err || !k) {
|
||||
$log.error('Could not get keys: ', err);
|
||||
$state.go('wallet.preferences');
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue