save error to job