wsd/Storage.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit d2f23dd8c232662fedded948109d0f747ca93b05
Author: Michael Meeks <[email protected]>
Date: Thu Feb 1 12:49:28 2018 +0000
Helpful error on non-matched WOPI host.
Change-Id: Ib752148be0acbf15cd8b737b71414313d05f6aca
diff --git a/wsd/Storage.cpp b/wsd/Storage.cpp
index 5698d24c..fef0c2b7 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.");
}
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits