Improve error handling for Job Submission.