Does Polly WaitAndRetryAsync() swallow exceptions during retries?
Does Polly "swallow" the exceptions during each retry attempt?
2 Replies
i think you have to use
Polly.Policy.Handle<Exception>()...
Only if that exception is declared in the handler; otherwise, it will throw.
Note the
.Handle<FooException>
line; only FooException
will be retried.