Merge pull request #88 from gabrielbazan7/fix/exception
handle get keys exception
This commit is contained in:
commit
7429d951ce
2 changed files with 2 additions and 1 deletions
|
|
@ -1023,7 +1023,7 @@ angular.module('copayApp.services').factory('walletService', function($log, $tim
|
|||
try {
|
||||
keys = wallet.getKeys(password);
|
||||
} catch (e) {
|
||||
return cb(err);
|
||||
return cb(e);
|
||||
}
|
||||
|
||||
return cb(null, keys);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue