Kaydet (Commit) 91404d1d authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Hide information about failure during very early startup a little less

Change-Id: I4ecbcf7e19c642bbb98f66d127050361fdb6136a
üst c097f7a3
...@@ -26,6 +26,10 @@ ...@@ -26,6 +26,10 @@
* *
************************************************************************/ ************************************************************************/
#include "sal/config.h"
#include <iostream>
#include "app.hxx" #include "app.hxx"
#include "desktop.hrc" #include "desktop.hrc"
#include "cmdlineargs.hxx" #include "cmdlineargs.hxx"
...@@ -712,9 +716,11 @@ void Desktop::ensureProcessServiceFactory() ...@@ -712,9 +716,11 @@ void Desktop::ensureProcessServiceFactory()
} }
catch (const css::uno::Exception& e) catch (const css::uno::Exception& e)
{ {
SAL_WARN("desktop", "UNO Exception: " << e.Message); // Application::ShowNativeErrorBox would only work after InitVCL, so
// let exceptions escape and tear down the process, it is // all we can realistically do here is hope the user can see stderr:
// completely broken anyway std::cerr << "UNO Exception: " << e.Message << std::endl;
// Let exceptions escape and tear down the process, it is completely
// broken anyway:
throw; throw;
} }
} }
......
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