aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src
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 /packages/instant/src
parent080c6d3146bee3691b6f3b9452be639354236e44 (diff)
downloaddexon-sol-tools-bbe9862aa6c0e495c58ee028d8e4964b63377d1c.tar
dexon-sol-tools-bbe9862aa6c0e495c58ee028d8e4964b63377d1c.tar.gz
dexon-sol-tools-bbe9862aa6c0e495c58ee028d8e4964b63377d1c.tar.bz2
dexon-sol-tools-bbe9862aa6c0e495c58ee028d8e4964b63377d1c.tar.lz
dexon-sol-tools-bbe9862aa6c0e495c58ee028d8e4964b63377d1c.tar.xz
dexon-sol-tools-bbe9862aa6c0e495c58ee028d8e4964b63377d1c.tar.zst
dexon-sol-tools-bbe9862aa6c0e495c58ee028d8e4964b63377d1c.zip
fix(instant): add analytics to unknown error on executeBuyAsync
Diffstat (limited to 'packages/instant/src')
-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;
}