diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-29 02:07:11 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-29 02:07:11 +0800 |
commit | ca894935f269a385f28e5d3a51720282ab403697 (patch) | |
tree | a2834b5b455baed8a9db01a018a7d5073b98d0c0 /packages/instant/src/util/buy_quote_updater.ts | |
parent | d3739488aed89ce98e805d48ec14a0d2608f85d7 (diff) | |
download | dexon-sol-tools-ca894935f269a385f28e5d3a51720282ab403697.tar dexon-sol-tools-ca894935f269a385f28e5d3a51720282ab403697.tar.gz dexon-sol-tools-ca894935f269a385f28e5d3a51720282ab403697.tar.bz2 dexon-sol-tools-ca894935f269a385f28e5d3a51720282ab403697.tar.lz dexon-sol-tools-ca894935f269a385f28e5d3a51720282ab403697.tar.xz dexon-sol-tools-ca894935f269a385f28e5d3a51720282ab403697.tar.zst dexon-sol-tools-ca894935f269a385f28e5d3a51720282ab403697.zip |
Take out asset name and data as we can use the selected event properties
Diffstat (limited to 'packages/instant/src/util/buy_quote_updater.ts')
-rw-r--r-- | packages/instant/src/util/buy_quote_updater.ts | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/packages/instant/src/util/buy_quote_updater.ts b/packages/instant/src/util/buy_quote_updater.ts index 3c982ed1f..d6c4bd71b 100644 --- a/packages/instant/src/util/buy_quote_updater.ts +++ b/packages/instant/src/util/buy_quote_updater.ts @@ -37,13 +37,7 @@ export const buyQuoteUpdater = { } catch (error) { if (options.dispatchErrors) { dispatch(actions.setQuoteRequestStateFailure()); - analytics.trackQuoteError( - error.message ? error.message : 'other', - asset.metaData.name, - asset.assetData, - assetUnitAmount, - options.fetchedVia, - ); + analytics.trackQuoteError(error.message ? error.message : 'other', assetUnitAmount, options.fetchedVia); let errorMessage; if (error.message === AssetBuyerError.InsufficientAssetLiquidity) { const assetName = assetUtils.bestNameForAsset(asset, 'of this asset'); |