mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
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
1 changed files with 0 additions and 4 deletions
|
@ -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 a new issue