Skip to content
Snippets Groups Projects
Commit c41bf20a authored by Atkins, Charles Vernon's avatar Atkins, Charles Vernon
Browse files

Adjust error handling for consistency

parent d841ae8a
No related branches found
No related tags found
1 merge request!187Adjust error handling for consistency
......@@ -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 \"" +
......
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