Skip to content
Snippets Groups Projects
Commit ccda9d91 authored by Aurélien Bricier's avatar Aurélien Bricier
Browse files

WRG: fixed DEMConvert.cxx warning

parent 04f4ddee
No related branches found
No related tags found
No related merge requests found
...@@ -213,9 +213,11 @@ int DEMConvert::Execute(otb::ApplicationOptionsResult* parseResult) ...@@ -213,9 +213,11 @@ int DEMConvert::Execute(otb::ApplicationOptionsResult* parseResult)
{ {
writer->execute(); writer->execute();
} }
catch(std::exception& err) catch(std::exception& e)
{ {
itkExceptionMacro("Error occurs writing the ouput image: " << err); std::cerr << "std::exception thrown:" << std::endl;
std::cerr << e.what() << std::endl;
itkExceptionMacro("Error occurs writing the ouput image...");
return EXIT_FAILURE; return EXIT_FAILURE;
} }
......
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