From ebb45815951386922c86678f90a5ad5b0ccdaa8a Mon Sep 17 00:00:00 2001 From: Jim Ladd Date: Fri, 15 Oct 2021 16:46:15 -0700 Subject: [PATCH] update exception log message to be descriptive .. instead of surfacing exception --- 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 e5a30098a6..b06deaabf7 100644 --- a/awx/main/tasks.py +++ b/awx/main/tasks.py @@ -3137,7 +3137,7 @@ class AWXReceptorJob: except RuntimeError as e: detail = '' state_name = '' - logger.exception(e) + logger.exception(f'Unable to retrieve work status for {self.unit_id}') if 'exceeded quota' in detail: logger.warn(detail)