aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components/order_json.tsx
diff options
context:
space:
mode:
authorFrancesco Agosti <francesco.agosti93@gmail.com>2018-07-14 04:35:01 +0800
committerGitHub <noreply@github.com>2018-07-14 04:35:01 +0800
commitab5cd95cccff7b776d168036394203261b354aae (patch)
treed011565b1c95d4682381f8f573afadf98911e396 /packages/website/ts/components/order_json.tsx
parent26363931ed8ba35a55073d00c4fe128c7e616acc (diff)
parentb70f5d1a1efcb3b07673aa3b4bc7bc2318f55462 (diff)
downloaddexon-sol-tools-ab5cd95cccff7b776d168036394203261b354aae.tar
dexon-sol-tools-ab5cd95cccff7b776d168036394203261b354aae.tar.gz
dexon-sol-tools-ab5cd95cccff7b776d168036394203261b354aae.tar.bz2
dexon-sol-tools-ab5cd95cccff7b776d168036394203261b354aae.tar.lz
dexon-sol-tools-ab5cd95cccff7b776d168036394203261b354aae.tar.xz
dexon-sol-tools-ab5cd95cccff7b776d168036394203261b354aae.tar.zst
dexon-sol-tools-ab5cd95cccff7b776d168036394203261b354aae.zip
Merge pull request #867 from 0xProject/bug/website/txhash-error
Only upload sourcemaps to rollbar on live deploys, and handle NaN error by using 0
Diffstat (limited to 'packages/website/ts/components/order_json.tsx')
-rw-r--r--packages/website/ts/components/order_json.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/website/ts/components/order_json.tsx b/packages/website/ts/components/order_json.tsx
index 7a732de6a..c2606bd56 100644
--- a/packages/website/ts/components/order_json.tsx
+++ b/packages/website/ts/components/order_json.tsx
@@ -154,7 +154,7 @@ You can see and fill it here: ${this.state.shareLink}`);
if (response.status !== 200 || bodyObj.status_code !== 200) {
// TODO: Show error message in UI
logUtils.log(`Unexpected status code: ${response.status} -> ${responseBody}`);
- await errorReporter.reportAsync(new Error(`Bitly returned non-200: ${JSON.stringify(response)}`));
+ errorReporter.report(new Error(`Bitly returned non-200: ${JSON.stringify(response)}`));
return '';
}
return bodyObj.data.url;