emit event 'job failed attempt' after updating job
Merge pull request #377 from vhain/master

emit event 'job failed attempt' after job successfully updated