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

osbuildexecutor: show full osbuild exector on json decode errors #4289

Merged
merged 1 commit into from
Aug 5, 2024

Conversation

mvo5
Copy link
Contributor

@mvo5 mvo5 commented Aug 5, 2024

This is a short term workaround to get better visibility why the osbuild executor sometimes sends non-json data. When reading the result from the executor the entire output is now read and if the json parsing goes wrong it will use the entire body in the error message for better debug visibility.

@mvo5 mvo5 requested a review from croissanne August 5, 2024 08:44
This is a short term workaround to get better visibility why
the osbuild executor sometimes sends non-json data. When reading
the result from the executor the entire output is now read and
if the json parsing goes wrong it will use the entire body
in the error message for better debug visibility.
@mvo5 mvo5 force-pushed the worker-no-json-err-details branch from f5e946c to d171e1a Compare August 5, 2024 11:26
Copy link
Member

@croissanne croissanne left a comment

Choose a reason for hiding this comment

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

Thank you!

@croissanne croissanne enabled auto-merge (rebase) August 5, 2024 12:41
@croissanne croissanne merged commit 86b1143 into osbuild:main Aug 5, 2024
42 of 43 checks passed
@mvo5 mvo5 deleted the worker-no-json-err-details branch August 5, 2024 13:02
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