diff --git a/THANKS b/THANKS index e147d9b19..49cff951d 100644 --- a/THANKS +++ b/THANKS @@ -160,4 +160,5 @@ Hebert J Kevin Littlejohn Wolfgang Schnerring Jason Madden -Eugene Obukhov \ No newline at end of file +Eugene Obukhov +Jan-Philip Gehrcke diff --git a/gunicorn/arbiter.py b/gunicorn/arbiter.py index fe96ac00d..3e1f772d9 100644 --- a/gunicorn/arbiter.py +++ b/gunicorn/arbiter.py @@ -11,6 +11,7 @@ import signal import sys import time +import traceback from gunicorn.errors import HaltServer, AppImportError from gunicorn.pidfile import Pidfile @@ -535,7 +536,8 @@ def spawn_worker(self): worker.tmp.close() self.cfg.worker_exit(self, worker) except: - pass + self.log.warning("Exception during worker exit:\n%s", + traceback.format_exc()) def spawn_workers(self): """\