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

ensure a unique error message for each USBError #9240

Closed
wants to merge 1 commit into from

Conversation

jepler
Copy link
Member

@jepler jepler commented May 13, 2024

This may help with diagnosing #9226: it will tell us which site is unexpectedly failing after a first timed out transfer (which correctly raises USBTimeoutError)

This is probably not worth merging as is, as the NULL cases look like "this isn't supposed to happen" cases. It's just for diagnostic purposes, if someone wants to grab the artifacts.

This may help with diagnosing adafruit#9226: it will tell us *which* site is
unexpectedly failing after a first timed out transfer (which correctly
raises USBTimeoutError)
@dhalbert dhalbert marked this pull request as draft May 13, 2024 02:45
@tannewt
Copy link
Member

tannewt commented May 13, 2024

Ya, generally at this point you need internal debugging to let you know what the issue is.

@tannewt tannewt closed this May 13, 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.

None yet

2 participants