diff options
Diffstat (limited to 'helpcompiler/source')
-rw-r--r-- | helpcompiler/source/HelpLinker_main.cxx | 5 |
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; } |