diff options
author | Brandon Millman <brandon@0xproject.com> | 2018-03-15 06:30:59 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-15 06:30:59 +0800 |
commit | 4a27a7dc581fc6c8a3d4e212ca3712c249a5b417 (patch) | |
tree | 344bd9cb3391a7a0cfb726cc7a54f4694eabd974 /packages/website/ts/blockchain_watcher.ts | |
parent | aea7207b9f9865a279243889a5f9ca1638ddc739 (diff) | |
parent | 3b3d5b12bc78b13860504b9699fd5f15ae8813a1 (diff) | |
download | dexon-sol-tools-4a27a7dc581fc6c8a3d4e212ca3712c249a5b417.tar dexon-sol-tools-4a27a7dc581fc6c8a3d4e212ca3712c249a5b417.tar.gz dexon-sol-tools-4a27a7dc581fc6c8a3d4e212ca3712c249a5b417.tar.bz2 dexon-sol-tools-4a27a7dc581fc6c8a3d4e212ca3712c249a5b417.tar.lz dexon-sol-tools-4a27a7dc581fc6c8a3d4e212ca3712c249a5b417.tar.xz dexon-sol-tools-4a27a7dc581fc6c8a3d4e212ca3712c249a5b417.tar.zst dexon-sol-tools-4a27a7dc581fc6c8a3d4e212ca3712c249a5b417.zip |
Merge pull request #452 from 0xProject/feature/utils/console-log
Consolidate all console.log utils into @0xproject/utils
Diffstat (limited to 'packages/website/ts/blockchain_watcher.ts')
-rw-r--r-- | packages/website/ts/blockchain_watcher.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/website/ts/blockchain_watcher.ts b/packages/website/ts/blockchain_watcher.ts index d3801cef4..2712b2c04 100644 --- a/packages/website/ts/blockchain_watcher.ts +++ b/packages/website/ts/blockchain_watcher.ts @@ -1,4 +1,4 @@ -import { BigNumber, intervalUtils, promisify } from '@0xproject/utils'; +import { BigNumber, intervalUtils, logUtils, promisify } from '@0xproject/utils'; import { Web3Wrapper } from '@0xproject/web3-wrapper'; import * as _ from 'lodash'; import { Dispatcher } from 'ts/redux/dispatcher'; @@ -87,7 +87,7 @@ export class BlockchainWatcher { }, 5000, (err: Error) => { - utils.consoleLog(`Watching network and balances failed: ${err.stack}`); + logUtils.log(`Watching network and balances failed: ${err.stack}`); this._stopEmittingNetworkConnectionAndUserBalanceStateAsync(); }, ); |