mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Merge pull request #2823 from Roffild/patch-1
fix LevelLog in Arbiter.run()
This commit is contained in:
commit
4bb9090a2f
@ -230,8 +230,8 @@ class Arbiter(object):
|
|||||||
except SystemExit:
|
except SystemExit:
|
||||||
raise
|
raise
|
||||||
except Exception:
|
except Exception:
|
||||||
self.log.info("Unhandled exception in main loop",
|
self.log.error("Unhandled exception in main loop",
|
||||||
exc_info=True)
|
exc_info=True)
|
||||||
self.stop(False)
|
self.stop(False)
|
||||||
if self.pidfile is not None:
|
if self.pidfile is not None:
|
||||||
self.pidfile.unlink()
|
self.pidfile.unlink()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user