aboutsummaryrefslogtreecommitdiffstats
path: root/prometheus.py
diff options
context:
space:
mode:
Diffstat (limited to 'prometheus.py')
-rwxr-xr-xprometheus.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/prometheus.py b/prometheus.py
index 6d7bbe5..a526851 100755
--- a/prometheus.py
+++ b/prometheus.py
@@ -23,7 +23,7 @@ class DynamicMetricsHandler(BaseHTTPRequestHandler):
registry = registry.restricted_registry(params["name[]"])
try:
output = generate_latest(registry)
- except:
+ except: # noqa: E722
self.send_error(500, "error generating metric output")
raise
self.send_response(200)