mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Added catch-all exception for stats collection.
This commit is contained in:
@@ -193,6 +193,8 @@ def main():
|
||||
stats_raw = status_to_json()
|
||||
except urllib2.URLError, e:
|
||||
stats_raw = status_to_json()
|
||||
except Exception, e:
|
||||
stats_raw = status_to_json()
|
||||
|
||||
stats = json.loads(stats_raw)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user