-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Is your request related to a problem you have?
I had configured retry forever without specifying the exceptions it should handle and was expecting it to handle all exceptions. However, the default behaviour is to handle no exception.
.RetryForever(x => x.WithTimeBetweenTriesPlan(TimeSpan.FromSeconds(10)))
Describe the solution you'd like
I see two options to use when no exception is defined:
- The default behaviour should be to handle any exception. If specified, it would handle just the specified types.
- The application should throw an error on startup and suggest to add
.HandleAnyException()or specific exceptions.
Are you able to help bring it to life and contribute with a Pull Request?
No
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request