comparison OrthancServer/Sources/ServerJobs/OrthancPeerStoreJob.cpp @ 4154:6e7c842679ec

improved log
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sun, 23 Aug 2020 12:40:04 +0200
parents a4664f169cd7
children d9473bd5ed43
comparison
equal deleted inserted replaced
4153:a4664f169cd7 4154:6e7c842679ec
117 { 117 {
118 return true; 118 return true;
119 } 119 }
120 else 120 else
121 { 121 {
122 if (compress_)
123 {
124 LOG(ERROR) << "Cannot send DICOM over HTTP using \"gzip\" as "
125 << "\"Content-Encoding\": Make sure that the version "
126 << "of the remote Orthanc server is >= 1.6.0";
127 }
128
122 throw OrthancException(ErrorCode_NetworkProtocol); 129 throw OrthancException(ErrorCode_NetworkProtocol);
123 } 130 }
124 } 131 }
125 132
126 133