summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--unodevtools/source/skeletonmaker/skeletonmaker.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/unodevtools/source/skeletonmaker/skeletonmaker.cxx b/unodevtools/source/skeletonmaker/skeletonmaker.cxx
index 06153d15a900..b403c7f08647 100644
--- a/unodevtools/source/skeletonmaker/skeletonmaker.cxx
+++ b/unodevtools/source/skeletonmaker/skeletonmaker.cxx
@@ -317,6 +317,9 @@ SAL_IMPLEMENT_MAIN()
<< "ERROR: Bad format of <" << e.getUri() << ">, \""
<< e.getDetail() << "\"\n";
return EXIT_FAILURE;
+ } catch (std::exception & e) {
+ std::cerr << "ERROR: " << e.what() << "\n";
+ return EXIT_FAILURE;
}
return 0;