summaryrefslogtreecommitdiff
path: root/unoidl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-11-06 09:49:55 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-11-06 12:16:00 +0000
commitcd4e97ede3002663ae6be238392f665765e39466 (patch)
treee3320557ae6e96362a0bb4ec5ecffcb89854724f /unoidl
parent7ef80d16d9370745ca88b241738738fca0140370 (diff)
coverity#1338263 Uncaught exception
Change-Id: Ide3aec7a352786ed441be1f506a5cf488843ea29
Diffstat (limited to 'unoidl')
-rw-r--r--unoidl/source/unoidl-check.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/unoidl/source/unoidl-check.cxx b/unoidl/source/unoidl-check.cxx
index c6cdf4c7a9f1..e52d3f8828d0 100644
--- a/unoidl/source/unoidl-check.cxx
+++ b/unoidl/source/unoidl-check.cxx
@@ -1196,6 +1196,9 @@ SAL_IMPLEMENT_MAIN() {
<< "Bad input <" << e1.getUri() << ">: " << e1.getDetail()
<< std::endl;
std::exit(EXIT_FAILURE);
+ } catch (std::exception & e1) {
+ std::cerr << "Failure: " << e1.what() << std::endl;
+ std::exit(EXIT_FAILURE);
}
}