Merge pull request #88 from gabrielbazan7/fix/exception

handle get keys exception
This commit is contained in:
Gustavo Maximiliano Cortez 2016-09-12 11:23:47 -03:00 committed by GitHub
commit 7429d951ce
2 changed files with 2 additions and 1 deletions

View file

@ -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;
}