[Libreoffice-commits] online.git: loolwsd/LOOLWSD.cpp

Tor Lillqvist tml at collabora.com
Tue Oct 18 06:45:28 UTC 2016


 loolwsd/LOOLWSD.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 38ccbd019617d3d4fba4dad4ac31f964f0294adf
Author: Tor Lillqvist <tml at collabora.com>
Date:   Tue Oct 18 09:45:02 2016 +0300

    We can use LoolException::toString() in one more place

diff --git a/loolwsd/LOOLWSD.cpp b/loolwsd/LOOLWSD.cpp
index 90dba8e..312d7b6 100644
--- a/loolwsd/LOOLWSD.cpp
+++ b/loolwsd/LOOLWSD.cpp
@@ -906,7 +906,7 @@ private:
         }
         catch (const UnauthorizedRequestException& exc)
         {
-            Log::error("Error in client request handler: " + std::string(exc.what()));
+            Log::error("Error in client request handler: " + exc.toString());
             status = "error: cmd=internal kind=unauthorized";
             Log::trace("Sending to Client [" + status + "].");
             ws->sendFrame(status.data(), (int) status.size());


More information about the Libreoffice-commits mailing list