mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
log it as an exception
This commit is contained in:
parent
acb3c5a817
commit
3cd1a9acd9
@ -461,7 +461,7 @@ class Arbiter(object):
|
|||||||
except SystemExit:
|
except SystemExit:
|
||||||
raise
|
raise
|
||||||
except:
|
except:
|
||||||
self.log.debug("Exception in worker process:\n%s",
|
self.log.exception("Exception in worker process:\n%s",
|
||||||
traceback.format_exc())
|
traceback.format_exc())
|
||||||
if not worker.booted:
|
if not worker.booted:
|
||||||
sys.exit(self.WORKER_BOOT_ERROR)
|
sys.exit(self.WORKER_BOOT_ERROR)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user