aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/wsgi.py
diff options
context:
space:
mode:
Diffstat (limited to 'libmproxy/wsgi.py')
-rw-r--r--libmproxy/wsgi.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/libmproxy/wsgi.py b/libmproxy/wsgi.py
index ce0367fb..b4555312 100644
--- a/libmproxy/wsgi.py
+++ b/libmproxy/wsgi.py
@@ -118,10 +118,8 @@ class WSGIAdaptor:
try:
s = traceback.format_exc()
self.error_page(soc, state["headers_sent"], s)
- # begin nocover
- except Exception, v:
- pass
- # end nocover
+ except Exception, v: # pragma: no cover
+ pass # pragma: no cover
return errs.getvalue()