diff OrthancServer/ServerIndex.cpp @ 2573:3372c5255333 jobs

StoreScuJob, Orthanc Explorer for jobs
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 09 May 2018 17:56:14 +0200
parents 8cc3ca64a534
children c691fcf66071
line wrap: on
line diff
--- a/OrthancServer/ServerIndex.cpp	Mon May 07 21:42:04 2018 +0200
+++ b/OrthancServer/ServerIndex.cpp	Wed May 09 17:56:14 2018 +0200
@@ -1212,7 +1212,7 @@
     ResourceType type;
     if (!db_.LookupResource(id, type, publicId))
     {
-      throw OrthancException(ErrorCode_InternalError);
+      throw OrthancException(ErrorCode_InexistentItem);
     }
 
     std::string patientId;