Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
mantidproject
mantid
Commits
c382b247
Commit
c382b247
authored
Jan 13, 2021
by
Peterson, Peter
Browse files
List what properties are bad in exception
parent
710dc0fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Framework/API/src/Algorithm.cpp
View file @
c382b247
...
...
@@ -639,9 +639,15 @@ bool Algorithm::executeInternal() {
}
// Throw because something was invalid
if
(
numErrors
>
0
)
{
std
::
stringstream
msg
;
msg
<<
"Some invalid Properties found: [ "
;
for
(
auto
&
error
:
errors
)
{
msg
<<
error
.
first
<<
" "
;
}
msg
<<
"]"
;
notificationCenter
().
postNotification
(
new
ErrorNotification
(
this
,
"Some invalid Properties found"
));
throw
std
::
runtime_error
(
"Some invalid Properties found"
);
throw
std
::
runtime_error
(
msg
.
str
()
);
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment