on reject / seen checks

This commit is contained in:
Matias Alejo Garcia 2014-11-25 16:41:56 -03:00
commit fb891d3f89
3 changed files with 99 additions and 86 deletions

View file

@ -197,7 +197,8 @@ Identity.prototype.storeWallet = function(wallet, cb) {
this.storage.setItem(key, val, function(err) {
if (err) {
log.debug('Wallet:' + wallet.getName() + ' couldnt be stored:', err);
log.error('Wallet:' + wallet.getName() + ' couldnt be stored:', err);
log.error('Wallet:' + wallet.getName() + ' Size:', JSON.stringify(wallet.sizes()));
}
if (cb)
return cb(err);