Skip to content

Commit

Permalink
don't throw an error - let stellar.expert asset list return an empty …
Browse files Browse the repository at this point in the history
…array (#1212)
  • Loading branch information
piyalbasu authored Mar 27, 2024
1 parent 794c077 commit 5af2a58
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion extension/src/popup/helpers/searchAsset.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { captureException } from "@sentry/browser";
import { fetchAssetList } from "@stellar-asset-lists/sdk";
import { NetworkDetails, NETWORKS } from "@shared/constants/stellar";
import { getApiStellarExpertUrl } from "popup/helpers/account";
Expand Down Expand Up @@ -103,8 +104,8 @@ export const getVerifiedTokens = async ({
console.error(e);
if (setIsSearching) {
setIsSearching(false);
captureException("Unable to search stellar.expert token list");
}
throw new Error("Unable to search for tokens");
},
});

Expand Down

0 comments on commit 5af2a58

Please sign in to comment.