Update error message to be more accurate

This commit is contained in:
Bianca Henderson
2021-10-27 08:59:55 -04:00
committed by Shane McDonald
parent 8275082896
commit 58cdbca5cf

View File

@@ -3134,7 +3134,7 @@ class AWXReceptorJob:
except Exception: except Exception:
detail = '' detail = ''
state_name = '' state_name = ''
logger.exception(f'An error was encountered while canceling work unit {self.unit_id}') logger.exception(f'An error was encountered while getting status for work unit {self.unit_id}')
if 'exceeded quota' in detail: if 'exceeded quota' in detail:
logger.warn(detail) logger.warn(detail)