framework/source/dispatch/servicehandler.cxx | 8 ++++++-- include/sal/log-areas.dox | 1 + 2 files changed, 7 insertions(+), 2 deletions(-)
New commits: commit ee84491568d72fe824bfc047fc17a3a978375855 Author: Stephan Bergmann <sberg...@redhat.com> Date: Tue May 7 10:18:11 2013 +0200 Better logging Change-Id: Ic3dca6f1f0c0f7de7070801793938569e76e1907 diff --git a/framework/source/dispatch/servicehandler.cxx b/framework/source/dispatch/servicehandler.cxx index 0f4a806..e67370b 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 37f8f3f..8f71f15 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 _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits