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