Skip to content

Commit

Permalink
Dont overwrite result_traceback if it was already set.
Browse files Browse the repository at this point in the history
  • Loading branch information
shanemcd committed Jun 28, 2021
1 parent d5deedc commit 1ed170f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion awx/main/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -3006,7 +3006,8 @@ def _run_internal(self, receptor_ctl):
if state_name == 'Succeeded':
return res

raise RuntimeError(detail)
if self.task.instance.result_traceback is None:
raise RuntimeError(detail)

return res

Expand Down

0 comments on commit 1ed170f

Please sign in to comment.