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