Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Podhorszki, Norbert
ADIOS2
Commits
c4ccdfca
Commit
c4ccdfca
authored
Jun 25, 2017
by
Atkins, Charles Vernon
Committed by
GitHub
Jun 25, 2017
Browse files
Merge pull request #187 from chuckatkins/adjust-error-handling-for-consistency
Adjust error handling for consistency
parents
6dd4f539
c41bf20a
Changes
1
Hide whitespace changes
Inline
Side-by-side
source/adios2/core/ADIOS.cpp
View file @
c4ccdfca
...
...
@@ -82,7 +82,7 @@ IO &ADIOS::DeclareIO(const std::string ioName)
IO
&
ADIOS
::
GetIO
(
const
std
::
string
name
)
{
auto
itIO
=
m_IOs
.
find
(
name
);
if
(
itIO
==
m_IOs
.
end
())
if
(
m_DebugMode
&&
itIO
==
m_IOs
.
end
())
{
throw
std
::
invalid_argument
(
"ERROR: Unable to find previously defined IO object with name
\"
"
+
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment