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 diagnose file read error on illegal seeks #1016

Merged
merged 1 commit into from
Dec 12, 2023

Conversation

tombruijn
Copy link
Member

When an app configured the log_file_path to something like /dev/stdout we can read from that source, but it will return an illegal seek error. Catch any such IO errors with SystemCallError and store the error.

Requires a server update on the viewer to display the error.

When an app configured the log_file_path to something like `/dev/stdout`
we can read from that source, but it will return an illegal seek error.
Catch any such IO errors with SystemCallError and store the error.

Requires a server update on the viewer to display the error.
@tombruijn tombruijn added the bug label Dec 12, 2023
@tombruijn tombruijn self-assigned this Dec 12, 2023
@unflxw unflxw self-requested a review December 12, 2023 10:57
@tombruijn tombruijn merged commit 2e93182 into main Dec 12, 2023
@tombruijn tombruijn deleted the diagnose-catch-read-error branch July 10, 2024 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants