diff --git a/awx/main/tasks.py b/awx/main/tasks.py index e07b2e5a51..1519dd7ea6 100644 --- a/awx/main/tasks.py +++ b/awx/main/tasks.py @@ -3004,7 +3004,7 @@ class AWXReceptorJob: if state_name == 'Succeeded': return res - if self.task.instance.result_traceback is None: + if not self.task.instance.result_traceback: raise RuntimeError(detail) return res