Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mantid
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mantidproject
mantid
Commits
46a74e84
Commit
46a74e84
authored
5 years ago
by
Nick Draper
Browse files
Options
Downloads
Patches
Plain Diff
clang format re #26830
parent
57b1b7fc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Framework/Kernel/src/ConfigService.cpp
+3
-2
3 additions, 2 deletions
Framework/Kernel/src/ConfigService.cpp
with
3 additions
and
2 deletions
Framework/Kernel/src/ConfigService.cpp
+
3
−
2
View file @
46a74e84
...
...
@@ -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
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment