Skip to content

Add attemptNumber to sdk exceptions #2800

@varming

Description

@varming

Describe the feature

When we get an sdk exception it can be difficult to figure out if the request was retried by the SDK. It would be really nice if the attemptNumber was copied into the sdk exception, so it is easy to see how many times a request was attempted.

Is your Feature Request related to a problem?

Understanding the SDK behavior in exceptional cases is often difficult. Adding more information to the sdk exception would make that simpler.

Proposed Solution

Add attemptNumber from

to sdk exceptions.

Describe alternatives you've considered

No response

Acknowledge

  • I may be able to implement this feature request

AWS Java SDK version used

2.17.59

JDK version used

1.8.0_302

Operating System and version

Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestA feature should be added or improved.p3This is a minor priority issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions