-
Notifications
You must be signed in to change notification settings - Fork 107
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
Additional param in errorFilter option #489
Labels
Comments
Hi @vizhukova it's not clear what you expect Lines 648 to 655 in 32762f4
If line 651 looked instead like if (circuit.options.errorFilter(error, args)) { Would this solve the problem? |
Yeah! This will help |
lance
added a commit
to lance/opossum
that referenced
this issue
Nov 17, 2020
When the circuit invocation fails, and there is an error filter in place, this change provides the function invocation parameters as the second parameter to `errorFilter()`. Fixes: nodeshift#489 Signed-off-by: Lance Ball <lball@redhat.com>
helio-frota
pushed a commit
that referenced
this issue
Nov 23, 2020
When the circuit invocation fails, and there is an error filter in place, this change provides the function invocation parameters as the second parameter to `errorFilter()`. Fixes: #489 Signed-off-by: Lance Ball <lball@redhat.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, opossum team!
I've got a question about expansion
errorFilter
functionality.Initial data:
The breaker once defined in the project and reused by every request
I need to ignore errors only for one request (as it is expected behavior and I need to call query until it response success)
So I expect something like that
Is it possible to add another one
query
param to theerrorFilter
?Thanks in advance,
Veronika
The text was updated successfully, but these errors were encountered: