It would be better if RetryUtility.Retry would retry on all exceptions instead of not retrying at all if exceptionTypesToRetry is not specified. We should change the default value to catch Exception.
The current implementation has a fairly unexpected behavior (not retrying if you use the default value).
It would be better if
RetryUtility.Retry
would retry on all exceptions instead of not retrying at all ifexceptionTypesToRetry
is not specified. We should change the default value to catchException
.The current implementation has a fairly unexpected behavior (not retrying if you use the default value).
See #1294