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

work around send that may raise #338

Merged
merged 1 commit into from
Aug 19, 2020
Merged

work around send that may raise #338

merged 1 commit into from
Aug 19, 2020

Conversation

arnetheduck
Copy link
Contributor

send can raise exceptions that together with asyncCheck will
crash NBC

`send` can raise exceptions that together with asyncCheck will
crash NBC
@zah zah merged commit eb13845 into master Aug 19, 2020
@zah zah deleted the no-crash branch August 19, 2020 11:25
# to escape to the poll loop.
# With a bit of luck, it may be harmless to ignore exceptions here -
# some cleanup is eventually done in PubSubPeer.send
traceAsyncErrors p.sendSubs(pubsubPeer, toSeq(p.topics.keys), true)
Copy link
Contributor

Choose a reason for hiding this comment

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

is this deliberate so we actually crash and catch the issue?
Also not sure how much that helps given our traces are hardly containing any relevant info.

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.

3 participants