[notifications] fix error reporting for a job that fails immediately

Related to
#728
3 jobs for 728-dev-csv-upload-error-message in 22 minutes and 25 seconds (queued for 6 seconds)
latest
Status Job ID Name Coverage
  Check Lint
passed #17097
check-lint

00:06:26

 
  Compile
passed #17098
compile

00:08:50

 
  Test
passed #17099
test

00:07:07