adobe / adobe/node-fetch-retry
logs 2 lines for every retry
- Dominant language
- JavaScript
- Stars
- 44
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Description
For every retry, two lines are logged (typically):
```
AbortError failed with type: aborted; message: The user aborted a request.
Retrying in 1005 milliseconds, attempt 1 error: AbortError, The user aborted a request.
```
Another error example:
```
FetchError failed with code: ECONNRESET; message: request to https://www.adobe.com/content/dam/dx-dc/us/en/sign/docusign-comparison/1_Icon_GreenCheckmark.svg failed, reason: read ECONNRESET
Retrying in 1030 milliseconds, attempt 1 error: FetchError, request to https://www.adobe.com/content/dam/dx-dc/us/en/sign/docusign-comparison/1_Icon_GreenCheckmark.svg failed, reason: read ECONNRESET
```
I think this can be limited to just the second message, as it includes the error message as well.
Contributor guide
Assessment
This issue has not been assessed yet.