Added catch-all exception for stats collection.

reviewable/pr18780/r1
James Martin 12 years ago
parent ccb5bd3ecf
commit c6b787cc42

@ -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…
Cancel
Save