From f5c095eb8a9f42f00e47d422b9dfaf32eb50d58e Mon Sep 17 00:00:00 2001 From: jangsutsr Date: Tue, 30 Aug 2016 21:07:23 -0400 Subject: [PATCH] update task failure traceback text --- awx/main/tasks.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/awx/main/tasks.py b/awx/main/tasks.py index b77275c0fd..c53fd90a29 100644 --- a/awx/main/tasks.py +++ b/awx/main/tasks.py @@ -656,7 +656,8 @@ class BaseTask(Task): if status == 'canceled': raise Exception("Task %s(pk:%s) was canceled (rc=%s)" % (str(self.model.__class__), str(pk), str(rc))) else: - raise Exception("Task %s(pk:%s) encountered an error (rc=%s)" % (str(self.model.__class__), str(pk), str(rc))) + raise Exception("Task %s(pk:%s) encountered an error (rc=%s), please see task stdout for details." % + (str(self.model.__class__), str(pk), str(rc))) if not hasattr(settings, 'CELERY_UNIT_TEST'): self.signal_finished(pk)