e2core
e2core copied to clipboard
Errors in user-written Runnables shouldn't control Atmo's HTTP response status code
Currently, if a Runnable returns an error that status code gets passed all the way through to Atmo.
Atmo's HTTP response codes should reflect the state of Atmo, not the state of the Runnable.
This ONLY applies in headless mode, in normal mode the Runnable should be able to determine the status code