-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Warn if websocket connection can't be made #15261
Merged
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
92708e4
ensure websocket connection can be made
jakekaplan 078048e
slight tweaks
jakekaplan 3ee6ec8
try this
jakekaplan 17328ae
use the right kwarg
jakekaplan 7219d2e
do some ping pong
jakekaplan ff8dc64
fix headers
jakekaplan 73687fd
get rid of sync connect
jakekaplan 9ab7820
go back to helper functions
jakekaplan 8a0bffd
Merge branch 'main' into ensure-websocket-connection-can-be-made
jakekaplan f083b06
only log message
jakekaplan 31b090a
fix warnings add test
jakekaplan d464fc4
refactor a bit
jakekaplan a75a932
check connection anyways
jakekaplan 3403aa6
move to class method
jakekaplan 81499c0
fix import
jakekaplan db717f5
fix tests
jakekaplan 7b2db6e
fix tests
jakekaplan 41f03e4
defer connect
jakekaplan 65d297d
remove deferment
jakekaplan 1204d5e
remove deferment
jakekaplan 4961bdb
add comment
jakekaplan f3ac0f1
last change
jakekaplan 3daf77a
fix deprecated from websockets
jakekaplan f1f96a5
Merge branch 'main' into ensure-websocket-connection-can-be-made
jakekaplan 74e3503
Merge branch 'main' into ensure-websocket-connection-can-be-made
jakekaplan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
not a blocker - it depends entirely on how you want this displayed - but
str(e)
hides the exception type whereasrepr(e)
preserves it; totally up to you which you think is better for this situation, e.g.,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.
My fault, I had enabled auto-merge here. I think
repr
is probably more correct, let me open another pr to update