summaryrefslogtreecommitdiff
path: root/vcl/workben
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-28 21:06:16 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-28 21:06:16 +0100
commit44eeb36e2e0b964a9fb8512aece103e8db958d46 (patch)
treec325e22a3173c417626676e6c98cfe4f0262e00e /vcl/workben
parenta0d2f5c6e4de6009c8f4b70b5a0c0090a6a2ce1d (diff)
coverity#1308563 Uncaught exception
Change-Id: I2ab21b98f4dee612b8c82ca7f1d0fef14b2a847e
Diffstat (limited to 'vcl/workben')
-rw-r--r--vcl/workben/svptest.cxx5
1 files changed, 5 insertions, 0 deletions
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;
}