From 44eeb36e2e0b964a9fb8512aece103e8db958d46 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 28 Jun 2015 21:06:16 +0100 Subject: coverity#1308563 Uncaught exception Change-Id: I2ab21b98f4dee612b8c82ca7f1d0fef14b2a847e --- vcl/workben/svptest.cxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'vcl/workben') diff --git a/vcl/workben/svptest.cxx b/vcl/workben/svptest.cxx index f4f321f2fdc5..f13acfa967c6 100644 --- a/vcl/workben/svptest.cxx +++ b/vcl/workben/svptest.cxx @@ -70,6 +70,11 @@ SAL_IMPLEMENT_MAIN() SAL_WARN("vcl.app", "Fatal exception: " << e.Message); return 1; } + catch (const std::exception &e) + { + fprintf(stderr, "fatal error: %s\n", e.what()); + return 1; + } return 0; } -- cgit v1.2.3