mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Raising a HaltServer exception in the arbiter will now exit with the provided reason and status code.
6 lines
108 B
Python
6 lines
108 B
Python
|
|
raise RuntimeError("Bad app!")
|
|
|
|
def app(environ, start_response):
|
|
assert 1 == 2, "Shouldn't get here."
|