summaryrefslogtreecommitdiff
path: root/unoidl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-11-06 09:49:09 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-11-06 12:15:59 +0000
commit7ef80d16d9370745ca88b241738738fca0140370 (patch)
tree918e5fbb832402f0be3b00e7fffc046f93476632 /unoidl
parent9aa7c8375c7f1038e8c729415636040113e1f0a1 (diff)
coverity#1338262 Uncaught exception
Change-Id: I95f00b63f21b29bc3c22a4891ebc5668fed723fc
Diffstat (limited to 'unoidl')
-rw-r--r--unoidl/source/unoidl-read.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/unoidl/source/unoidl-read.cxx b/unoidl/source/unoidl-read.cxx
index 99a202437d20..67c870c6fb7e 100644
--- a/unoidl/source/unoidl-read.cxx
+++ b/unoidl/source/unoidl-read.cxx
@@ -1152,6 +1152,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);
}
}