Add OSError to catched Gevent Error

pull/1676/head
Ozzieisaacs 4 years ago
parent f9995583a5
commit 5792838333

@ -150,7 +150,7 @@ class WebServer(object):
def my_wrap_socket(*args, **kwargs): def my_wrap_socket(*args, **kwargs):
try: try:
return wrap_socket(*args, **kwargs) return wrap_socket(*args, **kwargs)
except (ssl.SSLError) as ex: except (ssl.SSLError, OSError) as ex:
log.warning('Gevent SSL Error: %s', ex) log.warning('Gevent SSL Error: %s', ex)
raise GreenletExit raise GreenletExit

Loading…
Cancel
Save