mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Group exceptions with same body together in Arbiter.run() (#2081)
This commit is contained in:
parent
40d22ae38d
commit
d765f0d123
@ -223,9 +223,7 @@ class Arbiter(object):
|
||||
self.log.info("Handling signal: %s", signame)
|
||||
handler()
|
||||
self.wakeup()
|
||||
except StopIteration:
|
||||
self.halt()
|
||||
except KeyboardInterrupt:
|
||||
except (StopIteration, KeyboardInterrupt):
|
||||
self.halt()
|
||||
except HaltServer as inst:
|
||||
self.halt(reason=inst.reason, exit_status=inst.exit_status)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user