From ee84491568d72fe824bfc047fc17a3a978375855 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 7 May 2013 10:18:11 +0200 Subject: Better logging Change-Id: Ic3dca6f1f0c0f7de7070801793938569e76e1907 --- framework/source/dispatch/servicehandler.cxx | 8 ++++++-- include/sal/log-areas.dox | 1 + 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/framework/source/dispatch/servicehandler.cxx b/framework/source/dispatch/servicehandler.cxx index 0f4a806ec0db..e67370b184e2 100644 --- a/framework/source/dispatch/servicehandler.cxx +++ b/framework/source/dispatch/servicehandler.cxx @@ -262,8 +262,12 @@ css::uno::Reference< css::uno::XInterface > ServiceHandler::implts_dispatch( con // ignore all errors - inclusive runtime errors! // E.g. a script based service (written in phyton) could not be executed // because it contains syntax errors, which was detected at runtime ... - catch(const css::uno::Exception&) - { xService.clear(); } + catch(const css::uno::Exception& e) + { + SAL_WARN( + "fwk.dispatch", "ignored UNO Exception \"" << e.Message << '"'); + xService.clear(); + } return xService; } diff --git a/include/sal/log-areas.dox b/include/sal/log-areas.dox index 37f8f3fcf562..8f71f1506770 100644 --- a/include/sal/log-areas.dox +++ b/include/sal/log-areas.dox @@ -127,6 +127,7 @@ certain functionality. @li @c fwk - framework @li @c fwk.desktop +@li @c fwk.dispatch @li @c fwk.session @section i18nlangtag -- cgit