diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-06-28 21:06:16 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-06-28 21:06:16 +0100 |
commit | 44eeb36e2e0b964a9fb8512aece103e8db958d46 (patch) | |
tree | c325e22a3173c417626676e6c98cfe4f0262e00e /vcl/workben | |
parent | a0d2f5c6e4de6009c8f4b70b5a0c0090a6a2ce1d (diff) |
coverity#1308563 Uncaught exception
Change-Id: I2ab21b98f4dee612b8c82ca7f1d0fef14b2a847e
Diffstat (limited to 'vcl/workben')
-rw-r--r-- | vcl/workben/svptest.cxx | 5 |
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; } |