Improves error output when job fails to run.