summaryrefslogtreecommitdiff
path: root/unodevtools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-11-06 09:47:53 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-11-06 12:15:59 +0000
commit9aa7c8375c7f1038e8c729415636040113e1f0a1 (patch)
treeef535c49f3a4789e0e58fa82d5ffe8689aa53f7d /unodevtools
parentdf35df21ce4868f551dac1f01a91db80db75137f (diff)
coverity#1338260 Uncaught exception
Change-Id: Ib969223cb5c8acdad0e97ff9b944703d3ee43825
Diffstat (limited to 'unodevtools')
-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;