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 error reporting of runner #505

Merged
merged 1 commit into from
May 6, 2024

Conversation

tureba
Copy link
Contributor

@tureba tureba commented Mar 29, 2024

When an error is reported, container.logs() returns an iterator over lines of bytes. The decode() function should apply to each line, not to the iterator, otherwise we get no logs, but an error message saying there is no decode() function in the iterator.

This change follows the same pattern as stream_logs() in the same file.

When an error is reported, container.logs() returns an iterator over
lines of bytes. The decode() function should apply to each line, not to
the iterator, otherwise we get no logs, but an error message saying
there is no decode() function in the iterator.

This change follows the same pattern as stream_logs() in the same file.
@erikbern erikbern merged commit 1c3f702 into erikbern:main May 6, 2024
34 of 42 checks passed
@erikbern
Copy link
Owner

erikbern commented May 6, 2024

thanks!

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