diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-22 01:43:01 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-22 01:43:01 +0800 |
commit | 70c99082496bbaed5b5ccc37bb259c0a9f02fab5 (patch) | |
tree | 5e2272d883625604c59cf2ea7cde3fad951ada20 | |
parent | ffa2f4554b959b9af67d385d85fe9a4c822ad482 (diff) | |
download | dexon-sol-tools-70c99082496bbaed5b5ccc37bb259c0a9f02fab5.tar dexon-sol-tools-70c99082496bbaed5b5ccc37bb259c0a9f02fab5.tar.gz dexon-sol-tools-70c99082496bbaed5b5ccc37bb259c0a9f02fab5.tar.bz2 dexon-sol-tools-70c99082496bbaed5b5ccc37bb259c0a9f02fab5.tar.lz dexon-sol-tools-70c99082496bbaed5b5ccc37bb259c0a9f02fab5.tar.xz dexon-sol-tools-70c99082496bbaed5b5ccc37bb259c0a9f02fab5.tar.zst dexon-sol-tools-70c99082496bbaed5b5ccc37bb259c0a9f02fab5.zip |
Report when cant update balance
-rw-r--r-- | packages/instant/src/redux/async_data.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/instant/src/redux/async_data.ts b/packages/instant/src/redux/async_data.ts index 29d441c75..5382494f2 100644 --- a/packages/instant/src/redux/async_data.ts +++ b/packages/instant/src/redux/async_data.ts @@ -78,6 +78,7 @@ export const asyncData = { const ethBalanceInWei = await web3Wrapper.getBalanceInWeiAsync(address); dispatch(actions.updateAccountEthBalance({ address, ethBalanceInWei })); } catch (e) { + errorReporter.report(e); // leave balance as is return; } |