aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-22 01:43:01 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-22 01:43:01 +0800
commit70c99082496bbaed5b5ccc37bb259c0a9f02fab5 (patch)
tree5e2272d883625604c59cf2ea7cde3fad951ada20 /packages
parentffa2f4554b959b9af67d385d85fe9a4c822ad482 (diff)
downloaddexon-0x-contracts-70c99082496bbaed5b5ccc37bb259c0a9f02fab5.tar
dexon-0x-contracts-70c99082496bbaed5b5ccc37bb259c0a9f02fab5.tar.gz
dexon-0x-contracts-70c99082496bbaed5b5ccc37bb259c0a9f02fab5.tar.bz2
dexon-0x-contracts-70c99082496bbaed5b5ccc37bb259c0a9f02fab5.tar.lz
dexon-0x-contracts-70c99082496bbaed5b5ccc37bb259c0a9f02fab5.tar.xz
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.ts1
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;
}