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

fix: improve error messaging when pgrep fails streamer mode detection #5321

Merged
merged 5 commits into from
Apr 13, 2024

Conversation

pajlada
Copy link
Member

@pajlada pajlada commented Apr 12, 2024

We now correctly detect a timeout & show a special error message for it.
I've gone for the approach of possibly posting two streamer-mode messages, instead of sharing a boolean for them.

I've tested this locally on my system in 2 ways

  1. Remove pgrep - the original messaging still works
  2. Replace pgrep with a script that runs sleep 5 - the new timeout message shows

Copy link
Member Author

@pajlada pajlada left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

@pajlada pajlada enabled auto-merge (squash) April 13, 2024 06:36
@pajlada pajlada merged commit bf8266e into master Apr 13, 2024
17 checks passed
@pajlada pajlada deleted the fix/better-streamer-mode-linux-errors branch April 13, 2024 07:01
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