Skip to content

MuonIDHltAlg - Check ifstream is_open() before using

Turns error

MuonIDHlt1Alg                         FATAL  Standard std::exception is caught 
MuonIDHlt1Alg                         ERROR [json.exception.parse_error.101] parse error at line 1, column 1: syntax error while parsing value - unexpected end of input; expected '[', '{', or a literal

into much more useful

MuonIDHlt1Alg                         ERROR Failed to open '/usera/jonesc/LHCbCMake/Feature/PARAM/ParamFiles/v8r999/data/MuonIDGlobal.json'

Merge request reports