-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Suggestion: default to not sending event if there is an error in the modules callback #10671
Comments
This comment has been minimized.
This comment has been minimized.
It depends on the callback, if you're talking about |
After discussing this internally it looks like the team's opinion is that we should fail the request if the module encounters an error. However, note that |
Yeah, a quick look at the code suggests if |
Is this related to #11031 ? |
@DMRobertson yes, I think O's issue clarifies and replaces my own. |
Thanks! Let's close this and continue the discussion there. |
A developer working on a new project using the modules system reports:
The problem here is clearly that outside of the module interface it's not known which event types needed to be handled by the module. Is there a way we can flag events which have not been handled by the module callback and fail them?
The text was updated successfully, but these errors were encountered: