changeset 5547:dca738d7846b

clarified error message
author Alain Mazy <am@osimis.io>
date Thu, 28 Mar 2024 17:49:04 +0100
parents 42a33df3db3c
children ca8442691f16
files OrthancFramework/Sources/HttpServer/HttpOutput.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancFramework/Sources/HttpServer/HttpOutput.cpp	Tue Mar 26 10:17:28 2024 +0100
+++ b/OrthancFramework/Sources/HttpServer/HttpOutput.cpp	Thu Mar 28 17:49:04 2024 +0100
@@ -75,7 +75,7 @@
 
     if (hasContentLength_ && contentPosition_ != contentLength_)
     {
-      LOG(ERROR) << "This HTTP answer has not sent the proper number of bytes in its body";
+      LOG(ERROR) << "This HTTP answer has not sent the proper number of bytes in its body.  The remote client has likely closed the connection.";
     }
   }