Skip to content

Conversation

@JammingBen
Copy link
Contributor

fixes #1646

@JammingBen JammingBen self-assigned this Nov 20, 2025
Copilot AI review requested due to automatic review settings November 20, 2025 12:39
Copy link
Contributor

Copilot AI left a comment

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 adds error handling for SSE (Server-Sent Events) by converting the sseEventWrapper function to async/await, ensuring that errors from asynchronous event handlers are properly caught and logged.

Key Changes:

  • Made sseEventWrapper an async function
  • Changed the method call to use await to properly catch async errors

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

@JammingBen JammingBen requested a review from kulmann November 20, 2025 12:51
@kulmann kulmann merged commit bdc1680 into main Nov 21, 2025
29 checks passed
@kulmann kulmann deleted the fix/sse-event-errors-catch branch November 21, 2025 04:43
@kulmann
Copy link
Contributor

kulmann commented Nov 21, 2025

💚 All backports created successfully

Status Branch Result
stable-4.2

Questions ?

Please refer to the Backport tool documentation

openclouders pushed a commit that referenced this pull request Nov 21, 2025
@openclouders openclouders mentioned this pull request Nov 21, 2025
1 task
@openclouders openclouders mentioned this pull request Dec 15, 2025
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Errors in SSE events should be caught

3 participants