Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access all occurred exceptions in RetryError #477

Open
mtvx opened this issue Jun 19, 2024 · 1 comment
Open

Access all occurred exceptions in RetryError #477

mtvx opened this issue Jun 19, 2024 · 1 comment

Comments

@mtvx
Copy link

mtvx commented Jun 19, 2024

It would be useful to have access to the exceptions/stacktraces of all attempts, via RetryError.

This would allow to create e.g. metrics out of failed attempts and in general have some logic based on all failures (not only the last).

@mtvx mtvx changed the title Collect all retried attempts to RetryError Access all occurred exceptions in RetryError Jun 19, 2024
@blr246
Copy link

blr246 commented Jun 22, 2024

I have a way to do this that I was just thinking would be good to contribute upstream. It uses the existing API so it's really just like a wrapper / extension. I'm still looking for the contribution guidelines for this project. I'll check in again during the workweek with more info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants