[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-3-0' - wsd/Storage.cpp
Michael Meeks
michael.meeks at collabora.com
Mon Feb 12 19:07:02 UTC 2018
wsd/Storage.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 9168b2b73baca261ee246bddb2d3060531c65fed
Author: Michael Meeks <michael.meeks at collabora.com>
Date: Thu Feb 1 12:49:28 2018 +0000
Helpful error on non-matched WOPI host.
Change-Id: Ib752148be0acbf15cd8b737b71414313d05f6aca
Reviewed-on: https://gerrit.libreoffice.org/49540
Reviewed-by: Andras Timar <andras.timar at collabora.com>
Tested-by: Andras Timar <andras.timar at collabora.com>
diff --git a/wsd/Storage.cpp b/wsd/Storage.cpp
index eb158526..0d4aacb6 100644
--- a/wsd/Storage.cpp
+++ b/wsd/Storage.cpp
@@ -222,7 +222,7 @@ std::unique_ptr<StorageBase> StorageBase::create(const Poco::URI& uri, const std
{
return std::unique_ptr<StorageBase>(new WopiStorage(uri, jailRoot, jailPath));
}
-
+ LOG_ERR("No acceptable WOPI hosts found matching the target host [" << targetHost << "] in config.");
throw UnauthorizedRequestException("No acceptable WOPI hosts found matching the target host [" + targetHost + "] in config.");
}
More information about the Libreoffice-commits
mailing list