diff --git a/packages/web/app/src/lib/urql.ts b/packages/web/app/src/lib/urql.ts index d84bd33f3..3ed02f87c 100644 --- a/packages/web/app/src/lib/urql.ts +++ b/packages/web/app/src/lib/urql.ts @@ -1,6 +1,5 @@ import { createClient, dedupExchange, errorExchange, fetchExchange } from 'urql'; import { cacheExchange } from '@urql/exchange-graphcache'; -import { captureException } from '@sentry/nextjs'; import { Mutation } from './urql-cache'; import { networkStatusExchange } from './urql-exchanges/state'; @@ -49,8 +48,6 @@ export const urqlClient = createClient({ onError(error) { if (error.response?.status === 401) { window.location.href = '/logout'; - } else { - captureException(error); } }, }),