net/Socket.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit a87bafb403a983d34886f784808bb13f06db55d9 Author: Michael Meeks <michael.me...@collabora.com> AuthorDate: Wed May 20 14:51:46 2020 +0100 Commit: Michael Meeks <michael.me...@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 <jenkinscollaboraoff...@gmail.com> Reviewed-by: Michael Meeks <michael.me...@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; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits