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

Exception blacklist instead of whitelist? #5

Open
n2taylor opened this issue Dec 3, 2015 · 1 comment
Open

Exception blacklist instead of whitelist? #5

n2taylor opened this issue Dec 3, 2015 · 1 comment

Comments

@n2taylor
Copy link

n2taylor commented Dec 3, 2015

For the use case I'm working on, I would prefer to specify a list of exceptions that WILL count against the breaker's fail_counter, rather than a list of exceptions that shouldn't be counted against it. That would prevent any unexpected run-time error from tripping the breaker.
What do you think?

@labrys
Copy link

labrys commented Mar 16, 2016

I second this, as I have a several use cases myself that this would be extremely useful (e.g. to disable only certain features based on a limited set of exceptions).

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