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 /packages | |
parent | ffa2f4554b959b9af67d385d85fe9a4c822ad482 (diff) | |
download | dexon-0x-contracts-70c99082496bbaed5b5ccc37bb259c0a9f02fab5.tar.gz dexon-0x-contracts-70c99082496bbaed5b5ccc37bb259c0a9f02fab5.tar.zst dexon-0x-contracts-70c99082496bbaed5b5ccc37bb259c0a9f02fab5.zip |
Report when cant update balance
Diffstat (limited to 'packages')
-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; } |