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

Improve some error messages for xdg #238

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kristoff3r
Copy link

Currently if both XDG and zenity fails to open a dialog the XDG error is swallowed, and the zenity error was simply pick_folder error No such file or directory (os error 2) since I didn't have it installed. This made it hard to figure out how my system was misconfigured.

Instead print out both errors with a tiny bit of context.

@kristoff3r
Copy link
Author

Alternatively if the fallback to zenity shouldn't be considered an error we could emit both errors in that message

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.

1 participant