[Libreoffice-commits] online.git: loolwsd/IoUtil.cpp
Ashod Nakashian
ashod.nakashian at collabora.co.uk
Sun May 1 16:39:13 UTC 2016
loolwsd/IoUtil.cpp | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
New commits:
commit b0eed75f05e3b6252559e3c5828ded7109366128
Author: Ashod Nakashian <ashod.nakashian at collabora.co.uk>
Date: Sun May 1 09:36:37 2016 -0400
loolwsd: differntiating Poco and std exceptions in logs adds little value
Change-Id: I1c571ef46d58b1f007cba58506a3fbfd460fb0f0
Reviewed-on: https://gerrit.libreoffice.org/24569
Reviewed-by: Ashod Nakashian <ashnakash at gmail.com>
Tested-by: Ashod Nakashian <ashnakash at gmail.com>
diff --git a/loolwsd/IoUtil.cpp b/loolwsd/IoUtil.cpp
index 5e58a23..5df6dd0 100644
--- a/loolwsd/IoUtil.cpp
+++ b/loolwsd/IoUtil.cpp
@@ -170,13 +170,9 @@ void SocketProcessor(const std::shared_ptr<WebSocket>& ws,
" bytes) will not be processed: [" + msg + "].");
}
}
- catch (const Poco::Exception& exc)
- {
- Log::error("SocketProcessor: Exception: " + exc.message());
- }
catch (const std::exception& exc)
{
- Log::error("SocketProcessor: std::exception: " + std::string(exc.what()));
+ Log::error("SocketProcessor: exception: " + std::string(exc.what()));
}
Log::info("SocketProcessor finished.");
More information about the Libreoffice-commits
mailing list