Show SSL error string.

This commit is contained in:
Joel Martin 2012-01-31 15:20:57 -06:00
parent 9ed4a17d70
commit b2940c035f
1 changed files with 1 additions and 1 deletions

View File

@ -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