diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2016-10-20 11:27:05 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2016-10-20 11:27:05 +1300 |
commit | 01a449b5cb1106a867a6b73cd4877e9b2ec68171 (patch) | |
tree | 5a213fb4b8199d525079a55b64d6d232380be341 /pathod/protocols/http.py | |
parent | 301d52d9d05f2c5f074fe68c73acc1c32e518020 (diff) | |
download | mitmproxy-01a449b5cb1106a867a6b73cd4877e9b2ec68171.tar.gz mitmproxy-01a449b5cb1106a867a6b73cd4877e9b2ec68171.tar.bz2 mitmproxy-01a449b5cb1106a867a6b73cd4877e9b2ec68171.zip |
netlib.exceptions.* -> mitmproxy.exceptions
Diffstat (limited to 'pathod/protocols/http.py')
-rw-r--r-- | pathod/protocols/http.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pathod/protocols/http.py b/pathod/protocols/http.py index 0822e864..a20a58a1 100644 --- a/pathod/protocols/http.py +++ b/pathod/protocols/http.py @@ -1,5 +1,5 @@ from mitmproxy import version -from netlib.exceptions import TlsException +from mitmproxy import exceptions from netlib.http import http1 from .. import language @@ -37,7 +37,7 @@ class HTTPProtocol: options=self.pathod_handler.server.ssloptions.ssl_options, alpn_select=self.pathod_handler.server.ssloptions.alpn_select, ) - except TlsException as v: + except exceptions.TlsException as v: s = str(v) lg(s) return None, dict(type="error", msg=s) |