From c6b787cc422da0abe206477f72dc4526ec52ce28 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. --- riak | 2 ++ 1 file changed, 2 insertions(+) diff --git a/riak b/riak index d8bb4da640d..147991cf581 100644 --- a/riak +++ b/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)