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?
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).
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?