summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-07-13 15:27:13 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-07-13 15:27:40 +0200
commit91404d1d379fbdc3b1c7286dafd2519b68b08c97 (patch)
tree81bb3a5077737058aaddbe0d8c6928e915d181db /desktop
parentc097f7a3743246360bbae10e85a10eb00760edde (diff)
Hide information about failure during very early startup a little less
Change-Id: I4ecbcf7e19c642bbb98f66d127050361fdb6136a
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/app/app.cxx12
1 files changed, 9 insertions, 3 deletions
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx
index 812613abd653..3ee805bb6a42 100644
--- a/desktop/source/app/app.cxx
+++ b/desktop/source/app/app.cxx
@@ -26,6 +26,10 @@
*
************************************************************************/
+#include "sal/config.h"
+
+#include <iostream>
+
#include "app.hxx"
#include "desktop.hrc"
#include "cmdlineargs.hxx"
@@ -712,9 +716,11 @@ void Desktop::ensureProcessServiceFactory()
}
catch (const css::uno::Exception& e)
{
- SAL_WARN("desktop", "UNO Exception: " << e.Message);
- // let exceptions escape and tear down the process, it is
- // completely broken anyway
+ // Application::ShowNativeErrorBox would only work after InitVCL, so
+ // all we can realistically do here is hope the user can see stderr:
+ std::cerr << "UNO Exception: " << e.Message << std::endl;
+ // Let exceptions escape and tear down the process, it is completely
+ // broken anyway:
throw;
}
}