summaryrefslogtreecommitdiff
path: root/helpcompiler/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-07-02 08:45:01 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-07-02 11:39:33 +0100
commit5c2498545d7d9ab23ed4ac6d17a3c0320537badf (patch)
tree0c3b8e8bd1cedb24f719ced97304c94f354eb13f /helpcompiler/source
parent84ab3ce60d2bc77acf914cd341a439abca239849 (diff)
coverity#1309070 Uncaught exception
Change-Id: I33eca20633236ab98df0eabdec4e3761d544167d
Diffstat (limited to 'helpcompiler/source')
-rw-r--r--helpcompiler/source/HelpLinker_main.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/helpcompiler/source/HelpLinker_main.cxx b/helpcompiler/source/HelpLinker_main.cxx
index dd22eb99ae8a..e4e45fecf3c6 100644
--- a/helpcompiler/source/HelpLinker_main.cxx
+++ b/helpcompiler/source/HelpLinker_main.cxx
@@ -37,6 +37,11 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) {
std::cerr << e.m_aErrorMsg;
exit(1);
}
+ catch (const std::exception &e)
+ {
+ std::cerr << e.what();
+ exit(1);
+ }
return 0;
}