add err to log
This commit is contained in:
parent
5adc4fd5d2
commit
ed4d08f48b
1 changed files with 1 additions and 1 deletions
|
|
@ -195,7 +195,7 @@ Identity.prototype.storeWallet = function(wallet, cb) {
|
||||||
|
|
||||||
this.storage.setItem(key, val, function(err) {
|
this.storage.setItem(key, val, function(err) {
|
||||||
if (err) {
|
if (err) {
|
||||||
log.debug('Wallet:' + wallet.getName() + ' couldnt be stored');
|
log.debug('Wallet:' + wallet.getName() + ' couldnt be stored:', err);
|
||||||
}
|
}
|
||||||
if (cb)
|
if (cb)
|
||||||
return cb(err);
|
return cb(err);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue