Skip to content

Commit 058d95c

Browse files
committed
debug load balancer
1 parent b75f007 commit 058d95c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.evergreen/scripts/setup-tests.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,10 @@ def run_command(cmd: str) -> None:
9090
try:
9191
subprocess.run(shlex.split(cmd), check=True) # noqa: S603
9292
except subprocess.CalledProcessError as e:
93-
LOGGER.error(e.stderr.decode("utf-8"))
93+
if e.stderr:
94+
LOGGER.error(e.stderr.decode("utf-8"))
95+
if e.stdout:
96+
LOGGER.error(e.stdout.decode("utf-8"))
9497
raise e
9598

9699

0 commit comments

Comments
 (0)