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/send_button.tsx | |
parent | c2f8858aabad2355e09ba65e900202b7c4edec5e (diff) | |
download | dexon-0x-contracts-c8a8b851d8e0622559f71843a206a0e6e601cd83.tar.gz dexon-0x-contracts-c8a8b851d8e0622559f71843a206a0e6e601cd83.tar.zst dexon-0x-contracts-c8a8b851d8e0622559f71843a206a0e6e601cd83.zip |
Consolidate all console.log into the @0xproject/utils package
Diffstat (limited to 'packages/website/ts/components/send_button.tsx')
-rw-r--r-- | packages/website/ts/components/send_button.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/website/ts/components/send_button.tsx b/packages/website/ts/components/send_button.tsx index ffa165f60..79c103e05 100644 --- a/packages/website/ts/components/send_button.tsx +++ b/packages/website/ts/components/send_button.tsx @@ -1,4 +1,4 @@ -import { BigNumber } from '@0xproject/utils'; +import { BigNumber, logUtils } from '@0xproject/utils'; import * as _ from 'lodash'; import RaisedButton from 'material-ui/RaisedButton'; import * as React from 'react'; @@ -77,8 +77,8 @@ export class SendButton extends React.Component<SendButtonProps, SendButtonState this.props.dispatcher.updateShouldBlockchainErrDialogBeOpen(true); return; } else if (!utils.didUserDenyWeb3Request(errMsg)) { - utils.consoleLog(`Unexpected error encountered: ${err}`); - utils.consoleLog(err.stack); + logUtils.log(`Unexpected error encountered: ${err}`); + logUtils.log(err.stack); this.props.onError(); await errorReporter.reportAsync(err); } |