aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-12-21 06:43:14 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-12-21 06:43:14 +0800
commitbbe9862aa6c0e495c58ee028d8e4964b63377d1c (patch)
tree18551ebc28e941d7ad2a990f3340f5e664a5f29e
parent080c6d3146bee3691b6f3b9452be639354236e44 (diff)
downloaddexon-0x-contracts-bbe9862aa6c0e495c58ee028d8e4964b63377d1c.tar.gz
dexon-0x-contracts-bbe9862aa6c0e495c58ee028d8e4964b63377d1c.tar.zst
dexon-0x-contracts-bbe9862aa6c0e495c58ee028d8e4964b63377d1c.zip
fix(instant): add analytics to unknown error on executeBuyAsync
-rw-r--r--packages/instant/src/components/buy_button.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/instant/src/components/buy_button.tsx b/packages/instant/src/components/buy_button.tsx
index ff1cda1e1..46d121611 100644
--- a/packages/instant/src/components/buy_button.tsx
+++ b/packages/instant/src/components/buy_button.tsx
@@ -93,6 +93,7 @@ export class BuyButton extends React.Component<BuyButtonProps> {
return;
} else {
errorReporter.report(e);
+ analytics.trackBuySignatureDenied(buyQuote);
this.props.onValidationFail(buyQuote, ZeroExInstantError.CouldNotSubmitTransaction);
return;
}