Skip to content

Commit

Permalink
fix sentry message subject formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
kalessin committed Dec 10, 2024
1 parent 8f37e7e commit 5816019
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shub_workflow/contrib/sentry.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def __init__(self):
def send_sentry_message(self):
if self.messages:
message: Dict[str, Any] = dict()
title = f"{self.sentry_handler.project_name} | {self.sentry_handler.environment} | self.args.subject"
title = f"{self.sentry_handler.project_name} | {self.sentry_handler.environment} | {self.args.subject}"
message["title"] = title
message["failure_reasons"] = "/n".join(self.messages)
job_key = resolve_shub_jobkey()
Expand Down

0 comments on commit 5816019

Please sign in to comment.