Kaydet (Commit) 9950fc4f authored tarafından Michael Meeks's avatar Michael Meeks

print fatal UNO exceptions' text in a friendly way from OpenClients failures

üst d27d1489
......@@ -2199,6 +2199,7 @@ IMPL_LINK( Desktop, OpenClients_Impl, void*, EMPTYARG )
{
RTL_LOGFILE_PRODUCT_CONTEXT( aLog, "PERFORMANCE - DesktopOpenClients_Impl()" );
try {
OpenClients();
OfficeIPCThread::SetReady();
......@@ -2209,6 +2210,10 @@ IMPL_LINK( Desktop, OpenClients_Impl, void*, EMPTYARG )
if (getenv ("OOO_EXIT_POST_STARTUP"))
new ExitTimer();
} catch (const ::com::sun::star::uno::Exception &e) {
String a( RTL_CONSTASCII_USTRINGPARAM( "UNO exception during client open:\n" ) );
Application::Abort( a + e.Message );
}
return 0;
}
......
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