You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem: exit status 0 is returned when hypercorn with --reload throws an exception like SyntaxError, making the wrapper unable to distinguish if the exit is graceful or not (e.g. systemd auto restart on-failure)
Expectation: exit status non-0 should be returned in this condition.
Problem: exit status 0 is returned when hypercorn with --reload throws an exception like SyntaxError, making the wrapper unable to distinguish if the exit is graceful or not (e.g. systemd auto restart on-failure)
Expectation: exit status non-0 should be returned in this condition.
Reproducing:
app.py:
Then make the syntax error, e.g.:
The result:
This works as expected when hypercorn encounters the syntaxerror before reloading: (continuing from above)
Thanks for checking!
The text was updated successfully, but these errors were encountered: