From c46d1da6f905d01ed0987119e0e501248e8c5cfc Mon Sep 17 00:00:00 2001 From: Louis PAQUET Date: Wed, 2 Oct 2024 14:29:29 +0200 Subject: [PATCH] feat(thorswap-swap): remove merge error --- lib/src/handleErrors.ts | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/lib/src/handleErrors.ts b/lib/src/handleErrors.ts index a1be5a5..5b0b35d 100644 --- a/lib/src/handleErrors.ts +++ b/lib/src/handleErrors.ts @@ -19,21 +19,9 @@ export function handleErrors(walletAPI: WalletAPIClient, error: any) { }; const ignoredErrorNames = new Set([ - "WrongDeviceForAccount", - "WrongDeviceForAccountPayout", - "WrongDeviceForAccountRefund", - "CancelStepError", - "ConfirmStepError", - "SwapCompleteExchangeError", - "DisconnectedDevice", - "NotEnoughBalance", - "NotEnoughGas", - "CompleteExchangeError", - "TransportStatusError", - "FirmwareOrAppUpdateRequired", - "WrongDeviceForAccount", - "WrongDeviceForAccountPayout", - "WrongDeviceForAccountRefund", + "WrongDeviceForAccount", + "WrongDeviceForAccountPayout", + "WrongDeviceForAccountRefund", ]); const ignoredMessages = new Set(["User refused"]);