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

Collect and throw errors thrown in receivers #243

Open
JPOstholt opened this issue Jul 5, 2019 · 0 comments
Open

Collect and throw errors thrown in receivers #243

JPOstholt opened this issue Jul 5, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@JPOstholt
Copy link
Contributor

When an error is thrown in one of its receivers, the broker (i.e. InteractiveComponentBroker), catches the error in order to assure that all receivers run.

What problem are you trying to solve

The DialogValidationException is useless when used inside a receiver since it will always be catched.

Current Behavior

Errors in receivers are never thrown.

Possible Improvement

  • Collect the errors in a list
  • Create an interface that marks errors that have to be thrown
  • Throw the first error with that interface in the list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant