Skip to content

Commit 82abaad

Browse files
committed
BUG make sure to capture low-level stdout too
1 parent 29d8c2d commit 82abaad

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docker/run_bot_task.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
from contextlib import contextmanager, redirect_stdout
2626

2727
import click
28+
import wurlitzer
2829

2930
existing_feedstock_node_attrs_option = click.option(
3031
"--existing-feedstock-node-attrs",
@@ -107,6 +108,7 @@ def _run_bot_task(func, *, log_level, existing_feedstock_node_attrs, **kwargs):
107108
try:
108109
with (
109110
redirect_stdout(sys.stderr),
111+
wurlitzer.pipes(stdout=sys.__stderr__),
110112
tempfile.TemporaryDirectory() as tmpdir,
111113
pushd(tmpdir),
112114
):

0 commit comments

Comments
 (0)