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 error reporting on Linux #50

Merged
merged 2 commits into from
Jun 14, 2019
Merged

Conversation

stroncium
Copy link
Contributor

@stroncium stroncium commented May 6, 2019

Fixes #48, plus some more.

Made fallback to actually be executed only if system xsel failed. (There is much more chances fallback breaks the system compared to xsel installed in it.)

Doesn't eat fallback errors anymore, instead creates errors which show both fallback and system xsel source errors.

Once sindresorhus/execa#212 get released, this will output proper descriptive errors about what happened.

@sindresorhus sindresorhus changed the title Sensible errors, proper execution order and refactoring on linux, solves #48 (confusion) Sensible errors, proper execution order and refactoring on Linux Jun 14, 2019
@sindresorhus sindresorhus changed the title Sensible errors, proper execution order and refactoring on Linux Improve error reporting on Linux Jun 14, 2019
@sindresorhus sindresorhus merged commit f9ee96f into sindresorhus:master Jun 14, 2019
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.

Can't Write to Clipboard (Possibly Linux-related)
2 participants