Skip to content
Snippets Groups Projects
Commit 125e89ec authored by Julien Michel's avatar Julien Michel
Browse files

WRG: Display warning only in Debug mode.

parent de93dc9e
Branches
Tags
No related merge requests found
......@@ -298,11 +298,13 @@ namespace ossimplugins
All these cases should not go slient on error message. It must be FATAL errors.
*/
ossimNotify(ossimNotifyLevel_FATAL)
<< MODULE
<< " !xmlFileName.exists() || !this->readProduct(xmlFileName) fails \n";
return false;
if(traceDebug())
{
ossimNotify(ossimNotifyLevel_DEBUG)
<< MODULE
<< " !xmlFileName.exists() || !this->readProduct(xmlFileName) fails \n";
}
return false;
}
else
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment