Skip to content

Commit

Permalink
mod registry - make warning an error
Browse files Browse the repository at this point in the history
  • Loading branch information
rwcarlsen committed Mar 7, 2018
1 parent 1a2ba55 commit 672ae97
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions framework/src/base/Registry.C
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,8 @@ Registry::checkLabels(const std::set<std::string> & known_labels)
std::stringstream lst;
for (auto & orph : orphs)
lst << "\n\t" << orph._classname << " (app='" << orph._label << "')";
mooseWarning(
"The following objects/actions have been registered to unknown applications/labels:",
lst.str());
mooseError("The following objects/actions have been registered to unknown applications/labels:",
lst.str());
}
}

Expand Down

0 comments on commit 672ae97

Please sign in to comment.