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

Make non-UTF8 stdout/stderr from nodes non-fatal #510

Merged
merged 1 commit into from
May 29, 2024
Merged

Conversation

phil-opp
Copy link
Collaborator

Log a warning instead and do a lossy conversion to String. This ensures that stdout/stderr stay open, which avoids a SIGPIPE exit of the node on the next println.

Log a warning instead and do a lossy conversion to String. This ensures that `stdout`/`stderr` stay open, which avoids a `SIGPIPE` exit of the node on the next println.
Copy link
Collaborator

@haixuanTao haixuanTao left a comment

Choose a reason for hiding this comment

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

Looks great!

Thanks!

@haixuanTao haixuanTao merged commit ec6af97 into main May 29, 2024
17 checks passed
@haixuanTao haixuanTao deleted the non-fatal-stdout branch May 29, 2024 18:06
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.

2 participants