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

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