File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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" ,
You can’t perform that action at this time.
0 commit comments