hynek/stamina

Before and After Retry, and Logging

estahn opened this issue · 1 comments

estahn commented

I'd like to log retries similar to what is done in the tenacity documentation.

https://tenacity.readthedocs.io/en/latest/#before-and-after-retry-and-logging

hynek commented

ENRICO!?!?!? You here!? How long it's been? 20 years? 😅

Anyhow, I think this is subproblem of #21 but an important addition: there should be a plug before and after a retry.