IO-3162 Sentry package upgrades and refactors.

This commit is contained in:
Patrick Fic
2025-02-28 12:15:47 -08:00
parent f0af12bc2c
commit ba63e8054f
7 changed files with 179 additions and 408 deletions

View File

@@ -6,7 +6,6 @@ const errorLink = onError(({ graphQLErrors, networkError, operation, forward })
if (graphQLErrors) {
graphQLErrors.forEach(({ message, locations, path }) => {
console.log(`[GraphQL error]: Message: ${message}, Location: ${locations}, Path: ${path}`);
Sentry.captureException({ message, locations, path });
});
}
if (networkError) console.log(`[Network error]: ${JSON.stringify(networkError)}`);