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

More detailed error messages (use xerrors and "%w") #37

Open
akavel opened this issue Jan 4, 2021 · 0 comments
Open

More detailed error messages (use xerrors and "%w") #37

akavel opened this issue Jan 4, 2021 · 0 comments

Comments

@akavel
Copy link
Owner

akavel commented Jan 4, 2021

The error that showed up in #35 was confusing enough that even I wasn't sure where it comes from. If the message gave more details (like maybe at least: "error: reading .ico file: bad magic number"), this could potentially be already enough for the reporter to get a hint at how to resolve the issue (as they did once they learnt what it's about).

[Later in the future, possibly some extra hint messages could be added in some cases, like in #35 in particular rsrc could show a hint like: "Hint: Have you maybe renamed a .png file to .ico? If yes, this unfortunately won't work, you need to use a proper converter."]

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

No branches or pull requests

1 participant