-
Notifications
You must be signed in to change notification settings - Fork 55
snagrecover: improve logging on USB access errors #75
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
Conversation
4cd9975 to
9f72262
Compare
rgantois
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution! I've requested a few changes.
9f72262 to
74a6591
Compare
|
Hi Romain :) ! Finally took some time to work on this PR, tell me if it looks good for you. |
rgantois
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi François! Thanks for the corrections! There are still a couple of things to straighten out and then we should be good to merge :)
When an USB Device can't be accessed, snagrecover prints a generic error message stating to check presence and access right. Improve this by testing if the USB error is a permission error. If so log an error message and some hints on how to solve it. Signed-off-by: François Foltete <francois.foltete@bootlin.com>
74a6591 to
649c2e3
Compare
|
Nice, thanks! |
When an USB Device can't be accessed, snagrecover prints a generic error message stating to check presence
and access right.
Improve this by testing if the USB error is a permission error. If so log an error message and some hints
on how to solve it.