aboutsummaryrefslogtreecommitdiffstats
path: root/pathod/protocols/http.py
diff options
context:
space:
mode:
Diffstat (limited to 'pathod/protocols/http.py')
-rw-r--r--pathod/protocols/http.py4
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)