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
c41bf20a
Commit
c41bf20a
authored
Jun 25, 2017
by
Atkins, Charles Vernon
Browse files
Adjust error handling for consistency
parent
d841ae8a
Changes
1
Hide whitespace changes
Inline
Side-by-side
source/adios2/core/ADIOS.cpp
View file @
c41bf20a
...
...
@@ -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