Skip to content

Handle SlackApiError exceptions in the space open/close plugin#112

Merged
sjefferson99 merged 1 commit into
developfrom
97-space-state-error-handling-improvements
May 21, 2024
Merged

Handle SlackApiError exceptions in the space open/close plugin#112
sjefferson99 merged 1 commit into
developfrom
97-space-state-error-handling-improvements

Conversation

@samcorky

Copy link
Copy Markdown
Contributor

Added error handling for SlackApiError exceptions within the space_open and space_closed methods in the space open/close plugin. This commit aims to prevent any interruptions in communication with the slack API. Also, the default value of SPACE_OPEN_ANNOUNCE_CHANNEL_ID was changed to 'space-open-announce' in the config file.

Added error handling for SlackApiError exceptions within the `space_open` and `space_closed` methods in the space open/close plugin. This commit aims to prevent any interruptions in communication with the slack API. Also, the default value of `SPACE_OPEN_ANNOUNCE_CHANNEL_ID` was changed to 'space-open-announce' in the config file.
@samcorky samcorky requested a review from sjefferson99 May 20, 2024 22:05
@samcorky samcorky linked an issue May 20, 2024 that may be closed by this pull request
Comment thread smib/slack/config.py

@sjefferson99 sjefferson99 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good.

@sjefferson99 sjefferson99 merged commit 5564bcf into develop May 21, 2024
@sjefferson99 sjefferson99 deleted the 97-space-state-error-handling-improvements branch May 21, 2024 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Space state message Errors when no/invalid channel ID is provided

2 participants