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

Pacman search: Return error if exec failed #37

Merged
merged 1 commit into from
Oct 25, 2021

Conversation

juergenhoetzel
Copy link
Contributor

Also include stderr in wrapped error to give the user a hint about
the cause of the error.

Improves error reporting:

→ ./yup emacs
==> Searching and sorting your query...
==> exit status 1: error: database 'core' is not valid (invalid or corrupted database (PGP signature))
error: database 'extra' is not valid (invalid or corrupted database (PGP signature))
error: database 'community' is not valid (invalid or corrupted database (PGP signature))

Instead of

==> Searching and sorting your query...
==> exit status 1

Also include stderr in wrapped error to give the user a hint about
the cause of the error.
@ericm ericm merged commit 793bf3a into ericm:master Oct 25, 2021
ericm added a commit that referenced this pull request Jan 28, 2022
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