aboutsummaryrefslogtreecommitdiffstats
path: root/packages/testnet-faucets/src/ts/dispatch_queue.ts
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-03-14 09:06:02 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-03-14 09:13:48 +0800
commitc8a8b851d8e0622559f71843a206a0e6e601cd83 (patch)
tree143e238a68005fdb0e0d82c6750ea890fec4021c /packages/testnet-faucets/src/ts/dispatch_queue.ts
parentc2f8858aabad2355e09ba65e900202b7c4edec5e (diff)
downloaddexon-0x-contracts-c8a8b851d8e0622559f71843a206a0e6e601cd83.tar
dexon-0x-contracts-c8a8b851d8e0622559f71843a206a0e6e601cd83.tar.gz
dexon-0x-contracts-c8a8b851d8e0622559f71843a206a0e6e601cd83.tar.bz2
dexon-0x-contracts-c8a8b851d8e0622559f71843a206a0e6e601cd83.tar.lz
dexon-0x-contracts-c8a8b851d8e0622559f71843a206a0e6e601cd83.tar.xz
dexon-0x-contracts-c8a8b851d8e0622559f71843a206a0e6e601cd83.tar.zst
dexon-0x-contracts-c8a8b851d8e0622559f71843a206a0e6e601cd83.zip
Consolidate all console.log into the @0xproject/utils package
Diffstat (limited to 'packages/testnet-faucets/src/ts/dispatch_queue.ts')
-rw-r--r--packages/testnet-faucets/src/ts/dispatch_queue.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/packages/testnet-faucets/src/ts/dispatch_queue.ts b/packages/testnet-faucets/src/ts/dispatch_queue.ts
index 672511619..2dbeeba7a 100644
--- a/packages/testnet-faucets/src/ts/dispatch_queue.ts
+++ b/packages/testnet-faucets/src/ts/dispatch_queue.ts
@@ -1,8 +1,7 @@
-import { intervalUtils } from '@0xproject/utils';
+import { intervalUtils, logUtils } from '@0xproject/utils';
import * as _ from 'lodash';
import { errorReporter } from './error_reporter';
-import { utils } from './utils';
const MAX_QUEUE_SIZE = 500;
const DEFAULT_QUEUE_INTERVAL_MS = 1000;
@@ -45,7 +44,7 @@ export class DispatchQueue {
},
this._queueIntervalMs,
(err: Error) => {
- utils.consoleLog(`Unexpected err: ${err} - ${JSON.stringify(err)}`);
+ logUtils.log(`Unexpected err: ${err} - ${JSON.stringify(err)}`);
// tslint:disable-next-line:no-floating-promises
errorReporter.reportAsync(err);
},