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

An error in a message handler causes all message handlers to fail #280

Open
zuzak opened this issue Jun 11, 2019 · 0 comments
Open

An error in a message handler causes all message handlers to fail #280

zuzak opened this issue Jun 11, 2019 · 0 comments
Labels
bug problems that existing features cause infrastructure related to core function that influences how modules are written or executed

Comments

@zuzak
Copy link
Contributor

zuzak commented Jun 11, 2019

You can have multiple event handlers listening for a message.
This means that each message can have multiple things happen at once.

However, it seems like if one of those executed functions throws an error, it prevents execution of the other message functions. For example, if the scrabble module throws an error (#281), the URL shortener won't kick in (#277).

The bot should handle errors properly, so that an error being thrown in one event handler does not cause the other event handlers to fail.

@zuzak zuzak added bug problems that existing features cause infrastructure related to core function that influences how modules are written or executed labels Jun 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug problems that existing features cause infrastructure related to core function that influences how modules are written or executed
Projects
None yet
Development

No branches or pull requests

1 participant