Skip to content
Snippets Groups Projects
Commit 4ea54f5a authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

BUG: Mantis-1471: warn users if the parameter can't be set using a string

parent 3ab46139
No related branches found
No related tags found
No related merge requests found
......@@ -250,6 +250,10 @@ void Application::SetParameterString(std::string parameter, std::string value, b
if ( !paramDown->SetFileName(value) )
otbAppLogCRITICAL( <<"Invalid XML parameter filename " << value <<".");
}
else
{
otbAppLogWARNING( <<"This parameter can't be set using SetParameterString().");
}
this->SetParameterUserValue(parameter, hasUserValueFlag);
}
......
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