diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-11-06 09:49:09 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-11-06 12:15:59 +0000 |
commit | 7ef80d16d9370745ca88b241738738fca0140370 (patch) | |
tree | 918e5fbb832402f0be3b00e7fffc046f93476632 /unoidl | |
parent | 9aa7c8375c7f1038e8c729415636040113e1f0a1 (diff) |
coverity#1338262 Uncaught exception
Change-Id: I95f00b63f21b29bc3c22a4891ebc5668fed723fc
Diffstat (limited to 'unoidl')
-rw-r--r-- | unoidl/source/unoidl-read.cxx | 3 |
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); } } |