diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-03-14 09:06:02 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-03-14 09:13:48 +0800 |
commit | c8a8b851d8e0622559f71843a206a0e6e601cd83 (patch) | |
tree | 143e238a68005fdb0e0d82c6750ea890fec4021c /packages/website/ts/components/order_json.tsx | |
parent | c2f8858aabad2355e09ba65e900202b7c4edec5e (diff) | |
download | dexon-sol-tools-c8a8b851d8e0622559f71843a206a0e6e601cd83.tar.gz dexon-sol-tools-c8a8b851d8e0622559f71843a206a0e6e601cd83.tar.zst dexon-sol-tools-c8a8b851d8e0622559f71843a206a0e6e601cd83.zip |
Consolidate all console.log into the @0xproject/utils package
Diffstat (limited to 'packages/website/ts/components/order_json.tsx')
-rw-r--r-- | packages/website/ts/components/order_json.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/website/ts/components/order_json.tsx b/packages/website/ts/components/order_json.tsx index a5dd9ebc1..02b88b888 100644 --- a/packages/website/ts/components/order_json.tsx +++ b/packages/website/ts/components/order_json.tsx @@ -1,5 +1,5 @@ import { ECSignature } from '0x.js'; -import { BigNumber } from '@0xproject/utils'; +import { BigNumber, logUtils } from '@0xproject/utils'; import * as _ from 'lodash'; import Paper from 'material-ui/Paper'; import TextField from 'material-ui/TextField'; @@ -153,7 +153,7 @@ You can see and fill it here: ${this.state.shareLink}`); const bodyObj = JSON.parse(responseBody); if (response.status !== 200 || bodyObj.status_code !== 200) { // TODO: Show error message in UI - utils.consoleLog(`Unexpected status code: ${response.status} -> ${responseBody}`); + logUtils.log(`Unexpected status code: ${response.status} -> ${responseBody}`); await errorReporter.reportAsync(new Error(`Bitly returned non-200: ${JSON.stringify(response)}`)); return ''; } |