From e96080a512a41df4b2a07b9c714a109bf7974575 Mon Sep 17 00:00:00 2001 From: Alan Rominger Date: Tue, 6 Jul 2021 11:47:09 -0400 Subject: [PATCH] No result_traceback is blank, not null --- awx/main/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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