mirror of
https://github.com/janeczku/calibre-web
synced 2024-12-25 01:20:32 +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