Skip to content

Commit

Permalink
bot: Only log to Sentry last line of grcov's error and output
Browse files Browse the repository at this point in the history
  • Loading branch information
marco-c committed Nov 12, 2024
1 parent 4c82736 commit 72b222e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bot/code_coverage_bot/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ def run_check(command, **kwargs):
f"Command failed with code: {proc.returncode}",
exit=proc.returncode,
command=" ".join(command),
output=output,
error=error,
output=output.split("\n")[-1],
error=error.split("\n")[-1],
)
print(f"Output:\n{output}")
print(f"Error:\n{error}")
Expand Down

0 comments on commit 72b222e

Please sign in to comment.