Set method status to error if job failed