From 93d0ccd1e17073d695a335c120ac13a259dba91e Mon Sep 17 00:00:00 2001 From: James Martin Date: Fri, 12 Apr 2013 20:28:39 -0400 Subject: [PATCH] Added catch-all exception for stats collection. --- library/riak | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/riak b/library/riak index d8bb4da640..147991cf58 100644 --- a/library/riak +++ b/library/riak @@ -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)