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 | |
parent | 080c6d3146bee3691b6f3b9452be639354236e44 (diff) | |
download | dexon-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.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; } |