Skip to content
Snippets Groups Projects
Commit 46a74e84 authored by Nick Draper's avatar Nick Draper
Browse files

clang format re #26830

parent 57b1b7fc
No related branches found
No related tags found
No related merge requests found
......@@ -1860,8 +1860,9 @@ void ConfigServiceImpl::updateFacilities(const std::string &fName) {
std::string errorMessage =
"No more Facilities.xml files can be found, Mantid will not be "
"able to start, Sorry. Try reinstalling Mantid.";
//This is one of the few times that both logging a messge and throwing might make sense
// as the error reporter tends to swallow the thrown message.
// This is one of the few times that both logging a messge and throwing
// might make sense
// as the error reporter tends to swallow the thrown message.
g_log.error() << errorMessage << "\n";
// Throw an exception as we have run out of files to try
throw std::runtime_error(errorMessage);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment