output: Prevent BrokenPipeError with ndjson output
Ensure to flush stdout for ndjson output to avoid BrokenPipeError.
Fixes #4599 (closed).
For the record, I did not manage to write a test reproducing the issue.
Staging instance, all changes can be removed at any time
Ensure to flush stdout for ndjson output to avoid BrokenPipeError.
Fixes #4599 (closed).
For the record, I did not manage to write a test reproducing the issue.