Kaydet (Commit) 4e4bfa47 authored tarafından Caolán McNamara's avatar Caolán McNamara

verbose error message please

üst d5a5be9e
...@@ -767,18 +767,19 @@ void Desktop::InitFinished() ...@@ -767,18 +767,19 @@ void Desktop::InitFinished()
// on Unix command line args needs to be checked before Desktop::Init() // on Unix command line args needs to be checked before Desktop::Init()
void Desktop::ensureProcessServiceFactory() void Desktop::ensureProcessServiceFactory()
{ {
if (!comphelper::getProcessServiceFactory().is()) { if (!comphelper::getProcessServiceFactory().is())
try { {
try
{
comphelper::setProcessServiceFactory( comphelper::setProcessServiceFactory(
CreateApplicationServiceManager()); CreateApplicationServiceManager());
} catch (css::uno::Exception & e) { }
OSL_TRACE( catch (const css::uno::Exception& e)
OSL_LOG_PREFIX "caught UNO exception with message \"%s\"", {
rtl::OUStringToOString( OSL_FAIL(rtl::OUStringToOString(e.Message, osl_getThreadTextEncoding()).getStr());
e.Message, RTL_TEXTENCODING_UTF8).getStr()); // let exceptions escape and tear down the process, it is
// completely broken anyway
throw; throw;
// let exceptions escape and tear down the process, it is
// completely broken anyway
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment