mirror of
https://github.com/ansible/awx.git
synced 2026-05-13 20:37:39 -02:30
Enable email notifications to work,
...and customize default messages
This commit is contained in:
@@ -323,7 +323,7 @@ def send_notifications(notification_list, job_id=None):
|
||||
notification.status = "successful"
|
||||
notification.notifications_sent = sent
|
||||
except Exception as e:
|
||||
logger.error("Send Notification Failed {}".format(e))
|
||||
logger.exception("Send Notification Failed {}".format(e))
|
||||
notification.status = "failed"
|
||||
notification.error = smart_str(e)
|
||||
update_fields.append('error')
|
||||
|
||||
Reference in New Issue
Block a user