discourse-chat-integration/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.rb FIX: Improve error handling for slack transcript generation (#63) 2021-03-01 19:07:31 +00:00
slack_enabled_setting_validator.rb Add frozen string literal comment to files. 2019-05-13 10:37:49 +08:00
slack_message.rb Use Slack display names instead of the "name" field (#29) 2019-07-04 14:50:07 -04:00
slack_message_formatter.rb Add frozen string literal comment to files. 2019-05-13 10:37:49 +08:00
slack_provider.rb FIX: these are not spe and dont have response.parsed_body 2020-09-25 21:08:28 +02:00
slack_transcript.rb FIX: these are not spe and dont have response.parsed_body 2020-09-25 21:08:28 +02:00