Skip to content

Commit

Permalink
improve log message format
Browse files Browse the repository at this point in the history
  • Loading branch information
PythonFZ committed Jul 18, 2024
1 parent f839d63 commit 1235869
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions paraffin/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def run_stage(stage_name: str) -> str:
stderr_line = process.stderr.readline()

if stderr_line:
log.critical(f"[STDERR] {stderr_line.strip()}")
log.critical(stderr_line.strip())
failed = True

# Check if the process has finished
Expand All @@ -48,7 +48,7 @@ def run_stage(stage_name: str) -> str:
)

raise RuntimeError(
f"Failed to run stage {stage_name} after {max_retries} attempts: '{stderr}'"
f"Failed to run stage {stage_name} after {max_retries} attempts."
)


Expand Down

0 comments on commit 1235869

Please sign in to comment.