mirror of
https://github.com/ansible/awx.git
synced 2026-02-15 02:00:01 -03:30
Change email notification formatting.
Instead of pretty printing the datastructure we'll now dump out the result in json format with indent=4 for pretty viewing.
This commit is contained in:
@@ -269,7 +269,8 @@ def handle_work_error(self, task_id, subtasks=None):
|
||||
friendly_name = "System Job"
|
||||
else:
|
||||
# Unknown task type
|
||||
break
|
||||
logger.warn("Unknown task type: {}".format(each_task['type']))
|
||||
continue
|
||||
if first_task is None:
|
||||
first_task = instance
|
||||
first_task_id = instance.id
|
||||
|
||||
Reference in New Issue
Block a user