diff --git a/Utils/otbDEMConvert.cxx b/Utils/otbDEMConvert.cxx
index a4005e3fd4663365a4da3af00ec60f7b7114b504..b79ed73240d11f306abb6d98867544493d922719 100644
--- a/Utils/otbDEMConvert.cxx
+++ b/Utils/otbDEMConvert.cxx
@@ -213,9 +213,11 @@ int DEMConvert::Execute(otb::ApplicationOptionsResult* parseResult)
       {
          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;
       }