changeset 334:b995fc9156de

fix log as reported in issue #143
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 21 Jun 2019 18:29:26 +0200
parents bc903f260e38
children 487fca2fa5e2
files Plugin/WadoRs.cpp
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/Plugin/WadoRs.cpp	Fri Jun 21 17:16:50 2019 +0200
+++ b/Plugin/WadoRs.cpp	Fri Jun 21 18:29:26 2019 +0200
@@ -439,9 +439,9 @@
            series["MainDicomTags"]["SeriesInstanceUID"].asString() != std::string(request->groups[1]))
   {
     throw Orthanc::OrthancException(Orthanc::ErrorCode_InexistentItem,
-                                    "No instance " + std::string(request->groups[2]) + 
-                                    " in study " + std::string(request->groups[0]) +
-                                    " or in series " + std::string(request->groups[1]));
+                                    "Instance " + std::string(request->groups[2]) + 
+                                    " is not both in study " + std::string(request->groups[0]) +
+                                    " and in series " + std::string(request->groups[1]));
   }
   else
   {