I'm really not sure if this is the intended functionality, but when the job's command throws an exception the job's state is still set to 'finished' instead of 'failed'.
If it is intended to work this way, what can I do to force a job's state to be 'failed', from the command?
I'm really not sure if this is the intended functionality, but when the job's command throws an exception the job's state is still set to 'finished' instead of 'failed'.
If it is intended to work this way, what can I do to force a job's state to be 'failed', from the command?