diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-12-21 06:43:14 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-12-21 06:43:14 +0800 |
commit | bbe9862aa6c0e495c58ee028d8e4964b63377d1c (patch) | |
tree | 18551ebc28e941d7ad2a990f3340f5e664a5f29e /packages/instant/src/components/buy_button.tsx | |
parent | 080c6d3146bee3691b6f3b9452be639354236e44 (diff) | |
download | dexon-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/components/buy_button.tsx')
-rw-r--r-- | packages/instant/src/components/buy_button.tsx | 1 |
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; } |