# HG changeset patch # User Alain Mazy # Date 1580641434 -3600 # Node ID b5faee100a744eb0c3117a710b882baedf61c003 # Parent dfec31bf370f91483cac911013d809a01aba2792 more specific error message diff -r dfec31bf370f -r b5faee100a74 Plugin/WadoRsRetrieveFrames.cpp --- a/Plugin/WadoRsRetrieveFrames.cpp Thu Jan 23 16:05:31 2020 +0100 +++ b/Plugin/WadoRsRetrieveFrames.cpp Sun Feb 02 12:03:54 2020 +0100 @@ -83,7 +83,7 @@ if (tokens[0] != "multipart/related") { - throw Orthanc::OrthancException(Orthanc::ErrorCode_ParameterOutOfRange); + throw Orthanc::OrthancException(Orthanc::ErrorCode_ParameterOutOfRange, "expecting 'Accept: multipart/related' HTTP header"); } std::string type("application/octet-stream");