mirror of
https://github.com/discourse/discourse-chat-integration.git
synced 2025-02-10 05:24:53 +00:00
- Stop using `break` in a block - it doesn't work. The failure here was hidden because it was within a `defer` block, so would not cause a server error - Refactor the error handling so that the error is passed back to Slack and displayed to the user - Return specific error messages for user / message-history / message errors - Tidy up the SlackCommandController to make all non-requestable methods private - Add a test to ensure error messages are passed correctly to Slack