mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 17:43:14 +00:00
Fix the exception name in previous commit.
This commit is contained in:
parent
f7f8247d02
commit
5289d34206
@ -794,7 +794,7 @@ def serve(bind_host, bind_port):
|
||||
try:
|
||||
eventlet.wsgi.server(sock, resourcehandler, log=False, log_output=False,
|
||||
debug=False, socket_timeout=60)
|
||||
except InvalidTypeError:
|
||||
except TypeError:
|
||||
# Older eventlet in place, skip arguments it does not understand
|
||||
eventlet.wsgi.server(sock, resourcehandler, log=False, debug=False)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user