update exception log message to be descriptive

.. instead of surfacing exception
This commit is contained in:
Jim Ladd
2021-10-15 16:46:15 -07:00
parent 613f949e6e
commit 430b6826bf

View File

@@ -3129,7 +3129,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)