From 7ef80d16d9370745ca88b241738738fca0140370 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 6 Nov 2015 09:49:09 +0000 Subject: coverity#1338262 Uncaught exception Change-Id: I95f00b63f21b29bc3c22a4891ebc5668fed723fc --- unoidl/source/unoidl-read.cxx | 3 +++ 1 file changed, 3 insertions(+) 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); } } -- cgit