Skip to content

Add explicit message when requests fail due to 429 status code

Andrejs Cunskis requested to merge andrey-retry-error-message into master

What does this MR do and why?

Add a more descriptive message when retrier that checks for 429 status code fails.

  • Before: Retry failed after 3 attempts
  • After: Api request retrier of 429 status response failed after 3 attempts

Generic message is rather uninformative and requires reading through whole stacktrace to notice it comes from a generic with_retry_on_too_many_requests method.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Tiffany Rea

Merge request reports