box-windows-sdk-v2 icon indicating copy to clipboard operation
box-windows-sdk-v2 copied to clipboard

Retry logs

Open Band-Aid opened this issue 3 years ago • 4 comments

  • [X] I have checked that the SDK documentation doesn't solve my issue.
  • [X] I have checked that the API documentation doesn't solve my issue.
  • [X] I have searched the Box Developer Forums and my issue isn't already reported (or if it has been reported, I have attached a link to it, for reference).
  • [X] I have searched Issues in this repo and my issue isn't already reported.

Description of the Issue

The box SDK natively handles retry attempts and there seems to be no way to get the retry attempt logs. Is there a way to catch the retry logs from the sdk? I would like to capture the logs to prevent retry events from happening in the future.

Steps to Reproduce

Trigger exponential backoff scenario such as 429, 500, etc https://github.com/box/box-windows-sdk-v2/blob/ee1900636999f01fc914dcb0373a275325fdfc98/Box.V2/Request/HttpRequestHandler.cs#L80

Expected Behavior

Catch retry attempts

Error Message, Including Stack Trace

Screenshots

Versions Used

.Net SDK: latest version Windows 10

Band-Aid avatar Mar 17 '21 09:03 Band-Aid