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

Added protection from BrokenPipeError exceptions when piping log output #157

Merged
merged 1 commit into from
May 31, 2024

Conversation

mraineri
Copy link
Contributor

Fix #32

Pattern based on comments made here: https://stackoverflow.com/questions/14207708/ioerror-errno-32-broken-pipe-when-piping-prog-py-othercmd

I did not put this in universally; not even for the log script itself. I didn't want to potentially hide other sources of SIGPIPE. So, I'd like to keep this selective before we do things like print data to the console.

@mraineri
Copy link
Contributor Author

Approved 5/31

@mraineri mraineri merged commit 5feb5d1 into main May 31, 2024
7 checks passed
@mraineri mraineri deleted the Fix32-OSError-Logs branch May 31, 2024 19:38
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.

OSError when piping output from rf_logs.py
1 participant