Skip to content

Commit

Permalink
feat(token): silence external error in get token
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Lahaye <[email protected]>
  • Loading branch information
ChrisLahaye committed Feb 9, 2024
1 parent 672912b commit 7aee4a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/services/token.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export async function getToken(network: Network, id: string) {
});

if (token) return createToken(network, token);
}),
}).catch(() => null),
(async () => {
const tokens = await TokenModel.aggregate<Omit<Token, 'order'> & { registry: Registry; order: Omit<Order, 'token'> & { token: string } }>([
{ $match: { network: network.name, id } },
Expand Down

0 comments on commit 7aee4a6

Please sign in to comment.