You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We want to log retries and 'giving up' with its own message.
I now implemented this with a condition in the Retry: if (attempt < MaxAttempts) {normal behavior} else {custom log message}
with MaxAttempts one higher than the actual number of attempts.
I'm not sure what the most elegant solution would be. Maybe a fluent method like GiveUpWith() after Retry?
The text was updated successfully, but these errors were encountered:
We want to log retries and 'giving up' with its own message.
I now implemented this with a condition in the
Retry
:if (attempt < MaxAttempts) {normal behavior} else {custom log message}
with
MaxAttempts
one higher than the actual number of attempts.I'm not sure what the most elegant solution would be. Maybe a fluent method like
GiveUpWith()
afterRetry
?The text was updated successfully, but these errors were encountered: