discourse-chat-integration/spec/lib/discourse_chat/provider/slack
David Taylor 4261814162
FIX: Improve error handling for slack transcript generation (#63)
- 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
2021-03-01 19:07:31 +00:00
..
slack_command_controller_spec.rb FIX: Improve error handling for slack transcript generation (#63) 2021-03-01 19:07:31 +00:00
slack_message_formatter_spec.rb Add frozen string literal comment to files. 2019-05-13 10:37:49 +08:00
slack_provider_spec.rb DEV: Remove trailing whitespace 2020-08-14 19:24:05 +01:00
slack_transcript_spec.rb FEATURE: Enable optional support for threading slack posts (#38) 2020-06-15 16:45:25 +01:00