mirror of
https://github.com/JonathanHerrewijnen/calibre-web.git
synced 2024-11-11 05:33:57 +00:00
Add OSError to catched Gevent Error
This commit is contained in:
parent
f9995583a5
commit
5792838333
@ -150,7 +150,7 @@ class WebServer(object):
|
||||
def my_wrap_socket(*args, **kwargs):
|
||||
try:
|
||||
return wrap_socket(*args, **kwargs)
|
||||
except (ssl.SSLError) as ex:
|
||||
except (ssl.SSLError, OSError) as ex:
|
||||
log.warning('Gevent SSL Error: %s', ex)
|
||||
raise GreenletExit
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user