Skip to content

Improved error handling#264

Merged
sfreeman422 merged 1 commit into
masterfrom
improve-error-handling-event-handling
Jun 23, 2026
Merged

Improved error handling#264
sfreeman422 merged 1 commit into
masterfrom
improve-error-handling-event-handling

Conversation

@sfreeman422

@sfreeman422 sfreeman422 commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator

This pull request makes a small change to the AIService class to improve how the participate method is called when Moonbeam is tagged in a Slack message. Now, instead of calling participate without waiting for its result, the method returns the result directly.

Copilot AI review requested due to automatic review settings June 23, 2026 17:11

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR adjusts the Slack event handling flow in AIService so that Moonbeam “participation” is returned/awaited instead of being fire-and-forget, allowing failures in that flow to propagate through the existing handler error reporting.

Changes:

  • Return the participate(...) promise from AIService.handle() when Moonbeam is mentioned by a non-Moonbeam user (instead of discarding it with void).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sfreeman422 sfreeman422 merged commit 6ebeb08 into master Jun 23, 2026
11 checks passed
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.

2 participants