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

Add helpful error message when trying to use swww without daemon running #18

Closed
Aiz0 opened this issue Aug 14, 2022 · 1 comment · Fixed by #19
Closed

Add helpful error message when trying to use swww without daemon running #18

Aiz0 opened this issue Aug 14, 2022 · 1 comment · Fixed by #19

Comments

@Aiz0
Copy link

Aiz0 commented Aug 14, 2022

When running a command without first initializing the daemon you get this error message.
Error: "Failed to connect to socket: No such file or directory (os error 2)"
It's not immediately obvious what the problem is.

I think it would be helpful if a suggestion to check if the daemon is running was added (as a second line maybe?).
Something like this could work.
Is the swww daemon running?

@LGFae
Copy link
Owner

LGFae commented Aug 17, 2022

Apologies for the late reply, this week has been wild.

In any case, I was actually planning to improve this kind of error message just like this, but forgot about it. Thanks for reminding me!

@LGFae LGFae closed this as completed in #19 Aug 17, 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 a pull request may close this issue.

2 participants