New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changing exceptions to LogErrors where appropriate #5803
Changing exceptions to LogErrors where appropriate #5803
Conversation
A new Pull Request was created by @rappoccio for CMSSW_7_2_X. Changing exceptions to LogErrors where appropriate It involves the following packages: CondFormats/JetMETObjects @apfeiffer1, @nclopezo, @monttj, @cmsbuild, @ggovi, @vadler can you please review it and eventually sign? Thanks. |
// lep2 = pTrel2 + pLrel2 | ||
pTrel2 = lep2-pLrel2; | ||
} | ||
edm::LogError("JetCorrectionUncertainty")<<" not positive lepton-jet momentum: "<<lj2; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm ... did not read the full file, but should this logError not be inside an "else" or something ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch. This is supposed to have an else. One moment.
@ktf : Compilation currently fails with
even without the code changes introduced here. |
@vadler what compiler? If 4.8, have you tried 4.9? I see this marked as "tests-approved". Could you provide full recipe for producing ICE (internal compiler error)? |
On LXPLUS:
I'm trying 491 now.... |
Same thing with 491 :( |
@vadler all worked fine on |
It indeed seems to be related to the machine (lxplus0115) and the |
Ah, I just now looked again at the message |
@vadler - is this one ready for you? (and the same for 70x) |
+1 |
This pull request is fully signed and it will be integrated in one of the next CMSSW_7_2_X IBs unless changes (tests are also fine). @nclopezo can you please take care of it? |
Changing exceptions to LogErrors where appropriate
Masking problem reported here :
https://hypernews.cern.ch/HyperNews/CMS/get/relval/3177.html
The new code will no longer throw Exception, but instead print to the LogError stream.