aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-01-29 19:11:05 +0800
committerFabio Berger <me@fabioberger.com>2018-01-29 19:11:05 +0800
commit52394884dad9d4ff7f13891ebba013000ae32484 (patch)
tree92e2c931c23c23397be8bc518611c7fe55862080
parentaf08177f79decd8dd3194d300a1fa43d43872229 (diff)
downloaddexon-sol-tools-52394884dad9d4ff7f13891ebba013000ae32484.tar.gz
dexon-sol-tools-52394884dad9d4ff7f13891ebba013000ae32484.tar.zst
dexon-sol-tools-52394884dad9d4ff7f13891ebba013000ae32484.zip
Add the stack trace to help with debugging
-rw-r--r--packages/website/ts/web3_wrapper.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/website/ts/web3_wrapper.ts b/packages/website/ts/web3_wrapper.ts
index e19b0ea06..d3e929917 100644
--- a/packages/website/ts/web3_wrapper.ts
+++ b/packages/website/ts/web3_wrapper.ts
@@ -133,7 +133,7 @@ export class Web3Wrapper {
},
5000,
(err: Error) => {
- utils.consoleLog(`Watching network and balances failed: ${err}`);
+ utils.consoleLog(`Watching network and balances failed: ${err}, ${err.stack}`);
this._stopEmittingNetworkConnectionAndUserBalanceStateAsync();
},
);