diff --git a/netlib/wsgi.py b/netlib/wsgi.py index 6fe6b6b3b..4fa2c5372 100644 --- a/netlib/wsgi.py +++ b/netlib/wsgi.py @@ -131,6 +131,7 @@ class WSGIAdaptor: except Exception, v: try: s = traceback.format_exc() + errs.write(s) self.error_page(soc, state["headers_sent"], s) except Exception, v: # pragma: no cover pass # pragma: no cover