-
Notifications
You must be signed in to change notification settings - Fork 47
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
Occasional panick when closing ws connection in CLI #1308
Comments
faced same error too |
Hmm, if I read the code correctly, I would say that the missing |
Yes it can be. It only fails sometimes though, so it can be a timing issue. |
So I submit a minor PR to add the missing return? |
Sure! Thanks a lot! |
We notice in our CI that sometimes
direct_api.close().unwrap()
panicks:The status was
InSidechainBlock
withdo_watch
= false.Btw do we have any reason not returning
None
after the connection is closed here?worker/cli/src/trusted_operation.rs
Line 259 in ee0e1b3
The text was updated successfully, but these errors were encountered: