mirror of https://github.com/BTCPrivate/copay.git
Merge pull request #5402 from JDonadio/fix/log
Fix log - wallet service
This commit is contained in:
commit
e5315c6639
|
@ -392,7 +392,7 @@ angular.module('copayApp.services').factory('walletService', function($log, $tim
|
|||
if (err) {
|
||||
$log.warn(bwcError.msg(err, 'BWS Error')); //TODO
|
||||
if (err instanceof errors.CONNECTION_ERROR || (err.message && err.message.match(/5../))) {
|
||||
log.info('Retrying history download in 5 secs...');
|
||||
$log.info('Retrying history download in 5 secs...');
|
||||
return $timeout(function() {
|
||||
return getNewTxs(newTxs, skip, cb);
|
||||
}, 5000);
|
||||
|
|
Loading…
Reference in New Issue