Skip to content

Commit

Permalink
DCKM-257: better logs and error handler on balance fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
maycon-mello committed Oct 26, 2023
1 parent ab3c3a5 commit 1504fe6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/core/src/wallet-wasm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export async function setSubstrateNetwork(wallet: IWallet) {
})
.catch(err => {
captureException(new Error('Unable to connect to substrate node'));
captureException(err);
console.error(err);
wallet.eventManager.emit(WalletEvents.networkError, err);
});
Expand Down

0 comments on commit 1504fe6

Please sign in to comment.