mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -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
|
...options
|
||||||
});
|
});
|
||||||
|
|
||||||
if (attempts !== 0 && sentryDSN) {
|
|
||||||
Sentry.captureMessage('Request took multiple attempts', {extra: getErrorData()});
|
|
||||||
}
|
|
||||||
|
|
||||||
return handleResponse(response) as ResponseData;
|
return handleResponse(response) as ResponseData;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
retryingMs = Date.now() - startTime;
|
retryingMs = Date.now() - startTime;
|
||||||
|
|
Loading…
Add table
Reference in a new issue