diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-11-06 09:47:53 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-11-06 12:15:59 +0000 |
commit | 9aa7c8375c7f1038e8c729415636040113e1f0a1 (patch) | |
tree | ef535c49f3a4789e0e58fa82d5ffe8689aa53f7d /unodevtools | |
parent | df35df21ce4868f551dac1f01a91db80db75137f (diff) |
coverity#1338260 Uncaught exception
Change-Id: Ib969223cb5c8acdad0e97ff9b944703d3ee43825
Diffstat (limited to 'unodevtools')
-rw-r--r-- | unodevtools/source/skeletonmaker/skeletonmaker.cxx | 3 |
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; |