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,16 +2199,21 @@ IMPL_LINK( Desktop, OpenClients_Impl, void*, EMPTYARG ) ...@@ -2199,16 +2199,21 @@ IMPL_LINK( Desktop, OpenClients_Impl, void*, EMPTYARG )
{ {
RTL_LOGFILE_PRODUCT_CONTEXT( aLog, "PERFORMANCE - DesktopOpenClients_Impl()" ); RTL_LOGFILE_PRODUCT_CONTEXT( aLog, "PERFORMANCE - DesktopOpenClients_Impl()" );
OpenClients(); try {
OpenClients();
OfficeIPCThread::SetReady(); OfficeIPCThread::SetReady();
CloseSplashScreen(); CloseSplashScreen();
CheckFirstRun( ); CheckFirstRun( );
EnableOleAutomation(); EnableOleAutomation();
if (getenv ("OOO_EXIT_POST_STARTUP")) if (getenv ("OOO_EXIT_POST_STARTUP"))
new ExitTimer(); 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; 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