[Libreoffice-commits] online.git: net/Socket.cpp
Michael Meeks (via logerrit)
logerrit at kemper.freedesktop.org
Thu May 21 20:27:08 UTC 2020
net/Socket.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit a87bafb403a983d34886f784808bb13f06db55d9
Author: Michael Meeks <michael.meeks at collabora.com>
AuthorDate: Wed May 20 14:51:46 2020 +0100
Commit: Michael Meeks <michael.meeks at collabora.com>
CommitDate: Thu May 21 22:26:50 2020 +0200
Improve exceptions.
Change-Id: I7d10ff831563f47e8c01431803b307cdbcb20349
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94579
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Michael Meeks <michael.meeks at collabora.com>
diff --git a/net/Socket.cpp b/net/Socket.cpp
index 568fcca5e..0703f9c0a 100644
--- a/net/Socket.cpp
+++ b/net/Socket.cpp
@@ -928,14 +928,14 @@ bool StreamSocket::parseHeader(const char *clientName,
}
catch (const Poco::Exception& exc)
{
- LOG_DBG("parseHeader exception caught: " << exc.displayText());
+ LOG_DBG("parseHeader exception caught with " << _inBuffer.size() << " bytes: " << exc.displayText());
// Probably don't have enough data just yet.
// TODO: timeout if we never get enough.
return false;
}
catch (const std::exception& exc)
{
- LOG_DBG("parseHeader exception caught: " << exc.what());
+ LOG_DBG("parseHeader std::exception caught with " << _inBuffer.size() << " bytes: " << exc.what());
// Probably don't have enough data just yet.
// TODO: timeout if we never get enough.
return false;
More information about the Libreoffice-commits
mailing list