Skip to content

Commit fa8d669

Browse files
authored
reordered-jira-alert-description (#14058)
1 parent 046211a commit fa8d669

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dojo/jira_link/helper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ def log_jira_alert(error, obj):
602602
create_notification(
603603
event="jira_update",
604604
title="Error pushing to JIRA " + "(" + truncate_with_dots(prod_name(obj), 25) + ")",
605-
description=to_str_typed(obj) + ", " + error,
605+
description=error + "\n" + to_str_typed(obj),
606606
url=obj.get_absolute_url(),
607607
icon="bullseye",
608608
source="Push to JIRA",
@@ -614,7 +614,7 @@ def log_jira_cannot_be_pushed_reason(error, obj):
614614
create_notification(
615615
event="jira_update",
616616
title="Error pushing to JIRA " + "(" + truncate_with_dots(prod_name(obj), 25) + ")",
617-
description=obj.__class__.__name__ + ": " + error,
617+
description=error + "\n" + obj.__class__.__name__,
618618
url=obj.get_absolute_url(),
619619
icon="bullseye",
620620
source="Push to JIRA",

0 commit comments

Comments
 (0)