Skip to content

Commit

Permalink
Merge branch 'fix/getStatusAll' of github.com:gabrielbazan7/bitcore
Browse files Browse the repository at this point in the history
  • Loading branch information
kajoseph committed Jul 12, 2022
2 parents f66d559 + bc53ac3 commit c7c5f00
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/bitcore-wallet-service/src/lib/expressapp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,11 @@ export class ExpressApp {
...(err ? { success: false, message: err.message } : {}),
status
};
cb(err, result);
if (err && err.message)
logger.error(
`An error occurred retrieving wallet status - id: ${server.walletId} - token address: ${optsClone.tokenAddress} - err: ${err.message}`
);
cb(null, result); // do not throw error, continue with next wallets
});
},
(err, result) => {
Expand Down

0 comments on commit c7c5f00

Please sign in to comment.