diff --git a/apps/connect-v1/src/utils/getSortedChains.ts b/apps/connect-v1/src/utils/getSortedChains.ts index 8e731d6fa..d196f80ee 100644 --- a/apps/connect-v1/src/utils/getSortedChains.ts +++ b/apps/connect-v1/src/utils/getSortedChains.ts @@ -37,6 +37,7 @@ export const getSortedChains = async ( return [...chains].sort((a, b) => getChainScore(b) - getChainScore(a)); } catch (error) { - if ((error as Error).name !== "AbortError") return chains; + console.debug(error); + return chains; } }; diff --git a/apps/connect/src/utils/getSortedChains.ts b/apps/connect/src/utils/getSortedChains.ts index cae032f6a..d049a5bba 100644 --- a/apps/connect/src/utils/getSortedChains.ts +++ b/apps/connect/src/utils/getSortedChains.ts @@ -37,6 +37,7 @@ export const getSortedChains = async ( return [...chains].sort((a, b) => getChainScore(b) - getChainScore(a)); } catch (error) { - if ((error as Error).name !== "AbortError") return chains; + console.debug(error); + return chains; } };