From 3cd1a9acd9849409f698c198fa0134eb8bedd0a8 Mon Sep 17 00:00:00 2001 From: benoitc Date: Fri, 3 Aug 2012 06:04:08 +0200 Subject: [PATCH] log it as an exception --- gunicorn/arbiter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gunicorn/arbiter.py b/gunicorn/arbiter.py index 611a55e4..1b7c4e80 100644 --- a/gunicorn/arbiter.py +++ b/gunicorn/arbiter.py @@ -461,7 +461,7 @@ class Arbiter(object): except SystemExit: raise except: - self.log.debug("Exception in worker process:\n%s", + self.log.exception("Exception in worker process:\n%s", traceback.format_exc()) if not worker.booted: sys.exit(self.WORKER_BOOT_ERROR)