Skip to content

Commit

Permalink
Merge branch 'master' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
lufaque committed Dec 21, 2023
2 parents 2f4c9f7 + d7914e2 commit 5b963d8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export const handleTransactionError = (e: Error, swapDispatch: Dispatch<SwapActi
}

swapDispatch({ type: 'SET_SWAP_STAGE', payload: SwapCardStage.failed })
selectedRoute.error = e.toString()
logTxToDB({ tx_id: selectedRoute.id, status: 'failure', provider: selectedRoute.provider, tx_data: selectedRoute })
trackEvent({ category: category.SwapCard, action: action.SwapFailed, label: 'swap_failed', data: { provider: selectedRoute.provider, selectedRoute } })
}

0 comments on commit 5b963d8

Please sign in to comment.