Skip to content

Commit

Permalink
Refs #1419 - Changing a log message priority from error to debug.
Browse files Browse the repository at this point in the history
In the case where a user wishes to load a file with a name which is not of the
"standard" format (including a valid instrument), our call to the
ConfigService getInstrument method should not report an error.

A debug message is sufficient, and there is still an exception thrown which
a class user can then interpret in any way he/she sees fit.
  • Loading branch information
PeterParker committed Feb 20, 2012
1 parent fbe6db5 commit 8b391d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Code/Mantid/Framework/Kernel/src/ConfigService.cpp
Expand Up @@ -1598,7 +1598,7 @@ const InstrumentInfo & ConfigServiceImpl::getInstrument(const std::string& instr
// Move along, there's nothing to see here...
}
}
g_log.error("Instrument " + instrumentName + " not found");
g_log.debug("Instrument " + instrumentName + " not found");
throw Exception::NotFoundError("Instrument", instrumentName);
}

Expand Down

0 comments on commit 8b391d7

Please sign in to comment.