summaryrefslogtreecommitdiff
path: root/desktop/source/app/app.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/source/app/app.cxx')
-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;
}
}