Skip to content

Commit

Permalink
hotfix: Lense resolver failing
Browse files Browse the repository at this point in the history
  • Loading branch information
samuveth committed Nov 5, 2023
1 parent 875e3b0 commit a81f14a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/helpers/lensResolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,11 @@ class LensResolver {
}

export const resolveLensAddresses = async (addresses: Address[]) => {
const resolver = new LensResolver();
return await resolver.resolveAddresses(addresses);
try {
const resolver = new LensResolver();
return await resolver.resolveAddresses(addresses);
} catch (e) {
console.log(e);
return {};
}
};

0 comments on commit a81f14a

Please sign in to comment.