diff OrthancServer/OrthancInitialization.cpp @ 4011:914b15dedae3

fix for non private sequence tags in C-Find
author Alain Mazy <alain@mazy.be>
date Mon, 08 Jun 2020 16:04:29 +0200
parents 94f4a18a79cc
children 05a363186da6
line wrap: on
line diff
--- a/OrthancServer/OrthancInitialization.cpp	Sat Jun 06 14:50:21 2020 +0200
+++ b/OrthancServer/OrthancInitialization.cpp	Mon Jun 08 16:04:29 2020 +0200
@@ -162,7 +162,7 @@
           (content.size() >= 4 && content[3].type() != Json::intValue) ||
           (content.size() >= 5 && content[4].type() != Json::stringValue))
       {
-        throw OrthancException(ErrorCode_BadFileFormat);
+        throw OrthancException(ErrorCode_BadFileFormat, "The definition of the '" + tags[i] + "' dictionary entry is invalid.");
       }
 
       DicomTag tag(FromDcmtkBridge::ParseTag(tags[i]));