mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-15 06:08:36 -05:00
update exception log message to be descriptive
.. instead of surfacing exception
This commit is contained in:
+1
-1
@@ -3137,7 +3137,7 @@ class AWXReceptorJob:
|
|||||||
except RuntimeError as e:
|
except RuntimeError as e:
|
||||||
detail = ''
|
detail = ''
|
||||||
state_name = ''
|
state_name = ''
|
||||||
logger.exception(e)
|
logger.exception(f'Unable to retrieve work status for {self.unit_id}')
|
||||||
|
|
||||||
if 'exceeded quota' in detail:
|
if 'exceeded quota' in detail:
|
||||||
logger.warn(detail)
|
logger.warn(detail)
|
||||||
|
|||||||
Reference in New Issue
Block a user