Fail the job if any respoitory error occurs.