Update error message to be more accurate

This commit is contained in:
Bianca Henderson
2021-11-10 08:50:15 +08:00
committed by Shane McDonald
parent 8275082896
commit 58cdbca5cf
+1 -1
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)