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

Preserve the real error if accept failed. #82

Merged
merged 1 commit into from
Feb 16, 2024

Conversation

jepler
Copy link
Contributor

@jepler jepler commented Feb 16, 2024

Otherwise, the exception would be about the variable 'conn' never being assigned a value.

This scenario came up when there was an internal bug in circuitpython sockets that made accept fail; however, it might be the case that accept can "normally" fail, e.g., if all sockets are exhausted.

Otherwise, the exception would be about the variable 'conn'
never being assigned a value.

This scenario came up when there was an internal bug in circuitpython
sockets that made accept fail; however, it might be the case that accept
can "normally" fail, e.g., if all sockets are exhausted.
Copy link
Contributor

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

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

✔️

@dhalbert dhalbert merged commit d8f9a72 into adafruit:main Feb 16, 2024
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Feb 17, 2024
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