Skip to content

Conversation

@Hona
Copy link
Collaborator

@Hona Hona commented Jan 2, 2026

No description provided.

Copilot AI review requested due to automatic review settings January 2, 2026 09:19
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 fixes a bug where the sync function in share-next.ts would throw a NotFoundError when attempting to sync sessions that haven't been shared. The fix ensures that sync operations gracefully handle non-shared sessions by catching the error and returning early.

Key Changes:

  • Added error handling to get(sessionID) call in the sync function to catch NotFoundError and return undefined instead
  • This allows the sync operation to gracefully exit early when a session is not shared, preventing uncaught errors

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

@adamdotdevin adamdotdevin merged commit c600114 into anomalyco:dev Jan 2, 2026
8 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