# HG changeset patch # User Sebastien Jodogne # Date 1598179204 -7200 # Node ID 6e7c842679ecfbf969fc7ad5c2c97dc78de30e6b # Parent a4664f169cd73eea725cdfb8c623f8907b6058a6 improved log diff -r a4664f169cd7 -r 6e7c842679ec OrthancServer/Sources/ServerJobs/OrthancPeerStoreJob.cpp --- a/OrthancServer/Sources/ServerJobs/OrthancPeerStoreJob.cpp Sun Aug 23 12:13:27 2020 +0200 +++ b/OrthancServer/Sources/ServerJobs/OrthancPeerStoreJob.cpp Sun Aug 23 12:40:04 2020 +0200 @@ -119,6 +119,13 @@ } else { + if (compress_) + { + LOG(ERROR) << "Cannot send DICOM over HTTP using \"gzip\" as " + << "\"Content-Encoding\": Make sure that the version " + << "of the remote Orthanc server is >= 1.6.0"; + } + throw OrthancException(ErrorCode_NetworkProtocol); } }