Make logParser job fail if logParser throws runtime error
Description of bug
- The
check_logParser
job was checking whether the return code ofpython scripts/logParser.py
was==1
. This was not catching run-time errors which would e.g. have a return code of130
example from !399 (merged) https://gitlab.cern.ch/atlas-physics/pmg/mcjoboptions/-/jobs/8197685
Changes introduced
- Check for
"$?" != "0"
instead of"$?" == "1"
Tests
Issues resolved
Closes #108 (closed)