Better logging

Change-Id: Ic3dca6f1f0c0f7de7070801793938569e76e1907
This commit is contained in:
Stephan Bergmann
2013-05-07 10:18:11 +02:00
parent e67b072c8e
commit ee84491568
2 changed files with 7 additions and 2 deletions

View File

@@ -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;
}

View File

@@ -127,6 +127,7 @@ certain functionality.
@li @c fwk - framework
@li @c fwk.desktop
@li @c fwk.dispatch
@li @c fwk.session
@section i18nlangtag