aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/blockchain.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/website/ts/blockchain.ts')
-rw-r--r--packages/website/ts/blockchain.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/website/ts/blockchain.ts b/packages/website/ts/blockchain.ts
index 1320fbeb9..e82243c83 100644
--- a/packages/website/ts/blockchain.ts
+++ b/packages/website/ts/blockchain.ts
@@ -375,7 +375,11 @@ export class Blockchain {
clearInterval(this._zrxPollIntervalId);
delete this._zrxPollIntervalId;
}
- }, 5000);
+ }, 5000, (err: Error) => {
+ utils.consoleLog(`Polling tokenBalance failed: ${err}`);
+ clearInterval(this._zrxPollIntervalId);
+ delete this._zrxPollIntervalId;
+ });
}
public async signOrderHashAsync(orderHash: string): Promise<SignatureData> {
utils.assert(!_.isUndefined(this._zeroEx), 'ZeroEx must be instantiated.');