Merge pull request #2667 from jsmartin/devel

Added catch-all exception for riak stats collection.
This commit is contained in:
Michael DeHaan 2013-04-12 18:25:19 -07:00
commit be917e3e54

View file

@ -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)