Show SSL error string.
This commit is contained in:
parent
92e0cfff25
commit
d513257bed
@ -603,7 +603,7 @@ Sec-WebSocket-Accept: %s\r
|
|||||||
except ssl.SSLError:
|
except ssl.SSLError:
|
||||||
_, x, _ = sys.exc_info()
|
_, x, _ = sys.exc_info()
|
||||||
if x.args[0] == ssl.SSL_ERROR_EOF:
|
if x.args[0] == ssl.SSL_ERROR_EOF:
|
||||||
raise self.EClose("")
|
raise self.EClose(x.args[1])
|
||||||
else:
|
else:
|
||||||
raise
|
raise
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user