log it as an exception

This commit is contained in:
benoitc 2012-08-03 06:04:08 +02:00
parent acb3c5a817
commit 3cd1a9acd9

View File

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