Now all errors are expected to be of format:
No "L1GtStableParametersRcd" record found in the EventSetup. Please add an ESSource or ESProducer that delivers such a record.
The code could fail for other reasons, add a check for the error message content, and exit in case of other failures.
Examples of other errors:
Principal::getByLabel: Found zero products matching all criteria Looking for type: edm::AssociationVector<edm::RefToBaseProd<reco::Jet>,std::vector<float>,edm::RefToBase<reco::Jet>,unsigned int,edm::helper::AssociationIdenticalKeyReference> Looking for module label: softElectronByPtBJetTags Looking for productInstanceName: Additional Info: [a] If you wish to continue processing events after a ProductNotFound exception, add "SkipEvent = cms.untracked.vstring('ProductNotFound')" to the "options" PSet in the configuration.
Now all errors are expected to be of format:
No "L1GtStableParametersRcd" record found in the EventSetup. Please add an ESSource or ESProducer that delivers such a record.The code could fail for other reasons, add a check for the error message content, and exit in case of other failures.
Examples of other errors:
Principal::getByLabel: Found zero products matching all criteria Looking for type: edm::AssociationVector<edm::RefToBaseProd<reco::Jet>,std::vector<float>,edm::RefToBase<reco::Jet>,unsigned int,edm::helper::AssociationIdenticalKeyReference> Looking for module label: softElectronByPtBJetTags Looking for productInstanceName: Additional Info: [a] If you wish to continue processing events after a ProductNotFound exception, add "SkipEvent = cms.untracked.vstring('ProductNotFound')" to the "options" PSet in the configuration.