Add error message back to proxy errors (#4443)

This commit is contained in:
delobanov
2024-08-30 00:54:34 +03:00
committed by GitHub
parent 46854a7660
commit aec957d62d

View File

@@ -121,7 +121,7 @@ class Connection(abc.ABC):
class ConnectionErrorExtra(ConnectionError):
def __init__(self, message, error_code=None):
super().__init__()
super().__init__(message)
self.error_code = error_code
python_socks._errors.ProxyError = ConnectionErrorExtra