summaryrefslogtreecommitdiffstats
path: root/helpcompiler
diff options
context:
space:
mode:
Diffstat (limited to 'helpcompiler')
-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;
}