Skip to content

logs 2 lines for every retry #82

@alexkli

Description

@alexkli

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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions