Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(sockets): fix socket unable to send error message crashing server #402

Merged
merged 1 commit into from
Mar 9, 2022

Conversation

samuelmasse
Copy link
Contributor

Fixes bug reported here https://botpresshq.slack.com/archives/C02AFENA9C5/p1646837902625429

The code for socket message handling had a try catch, but the code located in the catch could also throw, so I added a try catch there also.

Closes DEV-2425

Copy link
Contributor

@laurentlp laurentlp left a comment

Choose a reason for hiding this comment

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

Small question otherwise LGTM

packages/server/src/socket/manager.ts Show resolved Hide resolved
@samuelmasse samuelmasse merged commit b18c779 into master Mar 9, 2022
@samuelmasse samuelmasse deleted the sm-fix-socket-crash branch March 9, 2022 17:36
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.

None yet

2 participants