Question: Handle exception in RetryOptions
Open
- Dominant language
- C#
- Stars
- 1.7k
- Forks
- 335
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 6
Description
When using the "context.CreateRetryableClient" or the "context.ScheduleWithRetry", we can't get the real exception in TaskActivity. How can we determine retry or not in handle function?
```
public readonly RetryOptions retryOptions = new RetryOptions(TimeSpan.FromSeconds(3), 3)
{
BackoffCoefficient = 1,
MaxRetryInterval = TimeSpan.FromMinutes(5),
Handle = (e) =>
{
// e is TaskFailedException without innerexception info
}
};
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.