Skip to content

Commit

Permalink
Remove sentry log when price is not found for a token, as it's very n…
Browse files Browse the repository at this point in the history
…oisy
  • Loading branch information
timjrobinson committed Jul 4, 2023
1 parent b4145dd commit 1156054
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/providers/tokens.provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ import {
toRef,
toRefs,
} from 'vue';
import { captureException } from '@sentry/browser';

import useAllowancesQuery from '@/composables/queries/useAllowancesQuery';
import useBalancesQuery from '@/composables/queries/useBalancesQuery';
import useTokenPricesQuery, {
Expand Down Expand Up @@ -398,10 +396,6 @@ export const tokensProvider = (
try {
const price = selectByAddressFast(prices.value, getAddress(address));
if (!price) {
captureException(new Error('Could not find price for token'), {
level: 'info',
extra: { address },
});
return 0;
}
return price;
Expand Down

0 comments on commit 1156054

Please sign in to comment.