Skip to content

Commit

Permalink
chore: swap a info for a debug on cmd outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-hagemann committed Sep 4, 2024
1 parent 29003c8 commit a066ca4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/container_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ def _run_command(self, command: str, args: Optional[Iterable[str]] = None) -> st

try:
result = subprocess.run(_cmd, check=True, text=True, capture_output=True)
logger.info("Docker command succeeded: %s", _cmd)
logger.debug("Docker command succeeded: %s", _cmd)
return result.stdout
except subprocess.CalledProcessError as e:
logger.warning("Docker command failed: %s", _cmd)
logger.debug("Docker command failed: %s", _cmd)
logger.warning("Return code: %s", e.returncode)
logger.warning("Output: %s", e.stdout)
logger.warning("Error output: %s", e.stderr)
Expand Down

0 comments on commit a066ca4

Please sign in to comment.