gunicorn/examples/boot_fail.py
Paul J. Davis 63b53c9f51 Exit with a non-zero status if workers don't boot.
Raising a HaltServer exception in the arbiter will now exit with the
provided reason and status code.
2010-08-05 23:28:25 -04:00

6 lines
108 B
Python

raise RuntimeError("Bad app!")
def app(environ, start_response):
assert 1 == 2, "Shouldn't get here."