Skip to content

Commit

Permalink
Recognizing task status 'SUBMITFAILED' and failing task. HC-281
Browse files Browse the repository at this point in the history
  • Loading branch information
Valentina Mancinelli committed Apr 29, 2016
1 parent a90e8eb commit b52a8d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/CRABTools/CRABBackend.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ def master_updateMonitoringInformation(jobs):
logger.info('Checking task status from report')
try:
taskstatus = statusresult['status']
if taskstatus in ['FAILED']:
if taskstatus in ['FAILED', 'SUBMITFAILED']:
logger.info('Job failed: %s' % dictresult)
j.updateStatus('failed')
except KeyError:
Expand Down

0 comments on commit b52a8d6

Please sign in to comment.