From 5289d34206b5f13eddbaa777bbd73c8aa887dc0a Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Mon, 11 Feb 2019 10:56:29 -0500 Subject: [PATCH] Fix the exception name in previous commit. --- confluent_server/confluent/httpapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_server/confluent/httpapi.py b/confluent_server/confluent/httpapi.py index 416f9de4..a923164a 100644 --- a/confluent_server/confluent/httpapi.py +++ b/confluent_server/confluent/httpapi.py @@ -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)