mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #2667 from jsmartin/devel
Added catch-all exception for riak stats collection.
This commit is contained in:
commit
be917e3e54
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue