use proper exception classes

This commit is contained in:
Thomas Kriechbaumer 2016-01-17 17:41:39 +01:00
parent de1b637a47
commit c44a8949f7

View File

@ -635,11 +635,7 @@ class HttpLayer(Layer):
try:
response = make_error_response(code, message)
self.send_response(response)
except Exception as e:
self.log(
"error: %s" % repr(e),
level="debug"
)
except NetlibException, h2.exceptions.H2Error:
pass
def change_upstream_proxy_server(self, address):