Removed Sentry error on multiple request attempts (#20360)
refs https://linear.app/tryghost/issue/SLO-146 - this Sentry error is not a user-facing error - the request is retried if it fails the first time
This commit is contained in:
parent
9ef92035f6
commit
fde40e9d85
@ -74,10 +74,6 @@ export const useFetchApi = () => {
|
||||
...options
|
||||
});
|
||||
|
||||
if (attempts !== 0 && sentryDSN) {
|
||||
Sentry.captureMessage('Request took multiple attempts', {extra: getErrorData()});
|
||||
}
|
||||
|
||||
return handleResponse(response) as ResponseData;
|
||||
} catch (error) {
|
||||
retryingMs = Date.now() - startTime;
|
||||
|
Loading…
Reference in New Issue
Block a user