-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Warn if editor session manager socket cannot be created. #6277
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
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #6277 +/- ##
==========================================
+ Coverage 73.56% 73.60% +0.04%
==========================================
Files 31 31
Lines 1861 1864 +3
Branches 399 399
==========================================
+ Hits 1369 1372 +3
Misses 415 415
Partials 77 77
Continue to review full report in Codecov by Sentry.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for responding so quickly!
One wrinkle is that the logs would say Session server listening on undefined
. One idea is to return undefined if there is an error and in main.ts
branch based on that.
if (server) {
logger.info("Server listening etc")
} else {
logger.error("failed etc etc")
}
Or we could have a Wait we could just branch on the address itself since that would be undefined.server.isListening
property or something like that.
Done! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, love the test too!
It looks like the other PR also included these changes so I decided to tweak the commit message on the other and merge in just that one. Thanks again! |
Fixes #6275