-
Notifications
You must be signed in to change notification settings - Fork 1
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
Anomaly callback should be optional #24
Comments
This is also good because if we agree with the |
arichiardi
added a commit
that referenced
this issue
Apr 8, 2019
A user of the library might not need to use anomalies but just need to throw on exceptions. This patch makes the anomaly machinery optional. When the :anomaly? config key is truthy we now enable the functionality. The patch is *Breaking* as it also changes the signature of fonda.core/execute for a more node-friendly callback style - on-exception first then on-success.
arichiardi
added a commit
that referenced
this issue
Apr 8, 2019
A user of the library might not need to use anomalies but just need to throw on exceptions. This patch makes the anomaly machinery optional. When the :anomaly? config key is truthy we now enable the functionality. The patch is *Breaking* as it also changes the signature of fonda.core/execute for a more node-friendly callback style - on-exception first then on-success.
arichiardi
added a commit
that referenced
this issue
Apr 8, 2019
A user of the library might not need to use anomalies but just need to throw on exceptions. This patch makes the anomaly machinery optional. When the :anomaly? config key is truthy we now enable the functionality. The patch is *Breaking* as it also changes the signature of fonda.core/execute for a more node-friendly callback style - on-exception first then on-success.
ElChache
added a commit
that referenced
this issue
Apr 9, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sometimes you don't want to use anomalies for errors, you just use normal exceptions.
It would be great if the
on-anomaly
param toexecute
is optional.The text was updated successfully, but these errors were encountered: