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
No known key found for this signature in database
GPG Key ID: 6F374AF6E9EB9374

View File

@ -3134,7 +3134,7 @@ class AWXReceptorJob:
except Exception:
detail = ''
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:
logger.warn(detail)