0

I'm trying to use a re-authentication strategy as the last thing to try after reaching max_retries with no success.

I already tried to add a hook to run after getting the response, but it just being ignored with the bad responses being catched in Retry as mentionned here and they never reach the hook (where I generate a new token and resend the request as shown here)

I wonder if a similar thing could be done by Adding callback function on each retry attempt ?

abdelgha4
  • 137
  • 9

0 Answers0