From 4496eec8a0ac88f7a97a4104daf9749331fb0632 Mon Sep 17 00:00:00 2001 From: "Paul J. Davis" Date: Wed, 10 Mar 2010 18:53:01 -0500 Subject: [PATCH] Wrong exception class name. --- gunicorn/worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gunicorn/worker.py b/gunicorn/worker.py index 503d6244..f19609e4 100644 --- a/gunicorn/worker.py +++ b/gunicorn/worker.py @@ -160,7 +160,7 @@ class Worker(object): self.log.exception("Error processing request.") else: self.log.warn("Ignoring EPIPE") - except UnexpectedShutdown: + except UnexpectedEOF: self.log.exception("remote closed the connection unexpectedly.") except Exception, e: self.log.exception("Error processing request.")