apollo-link-sentry icon indicating copy to clipboard operation
apollo-link-sentry copied to clipboard

Attach breadcrumbs in error link when mutation fails with `errorPolicy: 'all'`

Open durchanek opened this issue 1 year ago • 0 comments

I believe this has been mentioned in https://github.com/DiederikvandenB/apollo-link-sentry/issues/420 When setting errorPolicy: 'all', no exception is raised but any error link set for apollo client will still execute with error details that can be sent to Sentry. This allows setting up Sentry integration globally, unlike throwing exceptions. Unfortunately, it also means that error method of apollo-link-sentry is never called and breadcrumbs are not attached.

durchanek avatar Jun 20 '24 12:06 durchanek