[Libreoffice-commits] online.git: wsd/LOOLWSD.cpp
Tamas Bunth
tamas.bunth at collabora.co.uk
Wed Aug 16 14:08:27 UTC 2017
wsd/LOOLWSD.cpp | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
New commits:
commit a37d5789e089ad9103570ceced489ed63fd15e25
Author: Tamas Bunth <tamas.bunth at collabora.co.uk>
Date: Wed Aug 16 12:09:09 2017 +0200
Log missing cache on standard error too
diff --git a/wsd/LOOLWSD.cpp b/wsd/LOOLWSD.cpp
index 8cc04d37..720fc709 100644
--- a/wsd/LOOLWSD.cpp
+++ b/wsd/LOOLWSD.cpp
@@ -2541,8 +2541,10 @@ int LOOLWSD::innerMain()
if (access(Cache.c_str(), R_OK | W_OK | X_OK) != 0)
{
- LOG_SFL("Unable to access cache [" << Cache <<
- "] please make sure it exists, and has write permission for this user.");
+ const auto err = "Unable to access cache [" + Cache +
+ "] please make sure it exists, and has write permission for this user.";
+ LOG_SFL( err );
+ std::cerr << "FATAL: " << err << std::endl;
return Application::EXIT_SOFTWARE;
}
More information about the Libreoffice-commits
mailing list