Skip to content

Conversation

@awann-4ai
Copy link
Contributor

Updates the NUClearNet class to emit a 'disconnect' event when network connection is lost during packet processing.

This will allow users of the class to handle errors properly instead of crashing when an error occurs during packet processing.

Copy link
Contributor

@JosephusPaye JosephusPaye left a comment

Choose a reason for hiding this comment

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

LGTM!

We can revisit to handle specific errors (instead of treating all errors as network errors that require a disconnect) later, if necessary.

@JosephusPaye JosephusPaye merged commit 4bdb008 into Fastcode:main Oct 24, 2025
8 checks passed
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.

2 participants