Set indicator job status on error

This is to fix #300.

The UI still needs to be updated to check for failure status while polling.
This is the same error handling pattern used in several other of the scala endpoints now.  Perhaps you'd like to put out a separate PR to change that, once you've got some different syntax?