mirror of
https://github.com/ansible/awx.git
synced 2026-09-05 03:18:29 -02:30
Gracefully handle receptorctl RuntimeError in health check
This commit is contained in:
committed by
Shane McDonald
parent
77076dbd67
commit
e54db3ce50
@@ -186,7 +186,7 @@ def worker_info(node_name, work_type='ansible-runner'):
|
||||
else:
|
||||
error_list.append(details)
|
||||
|
||||
except ReceptorNodeNotFound as exc:
|
||||
except (ReceptorNodeNotFound, RuntimeError) as exc:
|
||||
error_list.append(str(exc))
|
||||
|
||||
# If we have a connection error, missing keys would be trivial consequence of that
|
||||
|
||||
Reference in New Issue
Block a user