Skip to content

Commit

Permalink
Merge pull request #22859 from Dr15Jones/addRootMessageToIgnore
Browse files Browse the repository at this point in the history
Do not throw exception for fitting error
  • Loading branch information
cmsbuild authored Apr 6, 2018
2 parents 9f478ff + a1ada16 commit aa7ef51
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion FWCore/Services/plugins/InitRootHandlers.cc
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,8 @@ namespace {
// be fatal, but we do want an error to print.
bool alreadyPrinted = false;
if ((el_message.find("number of iterations was insufficient") != std::string::npos) ||
(el_message.find("bad integrand behavior") != std::string::npos)) {
(el_message.find("bad integrand behavior") != std::string::npos) ||
(el_message.find("integral is divergent, or slowly convergent") != std::string::npos)) {
el_severity = SeverityLevel::kInfo;
edm::LogError("Root_Error") << el_location << el_message;
alreadyPrinted = true;
Expand Down

0 comments on commit aa7ef51

Please sign in to comment.