diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-05-07 10:18:11 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-05-07 10:18:11 +0200 |
commit | ee84491568d72fe824bfc047fc17a3a978375855 (patch) | |
tree | ef2dcfa3e99090d6fe71d923c40a383f948b0e6e | |
parent | e67b072c8e7a2b6d2c9afcf72882083255ef5966 (diff) |
Better logging
Change-Id: Ic3dca6f1f0c0f7de7070801793938569e76e1907
-rw-r--r-- | framework/source/dispatch/servicehandler.cxx | 8 | ||||
-rw-r--r-- | 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 |