wsd/Storage.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 9168b2b73baca261ee246bddb2d3060531c65fed
Author: Michael Meeks <michael.me...@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.ti...@collabora.com>
    Tested-by: Andras Timar <andras.ti...@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.");
     }
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to