2
0
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:
Jarrod Johnson 2019-02-11 10:56:29 -05:00
parent f7f8247d02
commit 5289d34206

View File

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