From 9aa7c8375c7f1038e8c729415636040113e1f0a1 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 6 Nov 2015 09:47:53 +0000 Subject: coverity#1338260 Uncaught exception Change-Id: Ib969223cb5c8acdad0e97ff9b944703d3ee43825 --- unodevtools/source/skeletonmaker/skeletonmaker.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'unodevtools') 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; -- cgit