changeset 3716:ae0e3fd609df

sample for "Manufacturer" option in "DicomModalities" config
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 04 Mar 2020 10:00:42 +0100
parents e9029cb94d7c
children 914f783ef085 0b3aacdf77f5
files Core/WebServiceParameters.cpp Resources/Configuration.json
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Core/WebServiceParameters.cpp	Mon Mar 02 16:18:11 2020 +0100
+++ b/Core/WebServiceParameters.cpp	Wed Mar 04 10:00:42 2020 +0100
@@ -304,7 +304,8 @@
             break;
 
           default:
-            throw OrthancException(ErrorCode_BadFileFormat);
+            throw OrthancException(ErrorCode_BadFileFormat,
+                                   "User-defined properties associated with a Web service must be strings: " + *it);
         }
       }
     }
--- a/Resources/Configuration.json	Mon Mar 02 16:18:11 2020 +0100
+++ b/Resources/Configuration.json	Wed Mar 04 10:00:42 2020 +0100
@@ -217,6 +217,7 @@
     //  "AET" : "ORTHANC",
     //  "Port" : 104,
     //  "Host" : "127.0.0.1",
+    //  "Manufacturer" : "Generic",
     //  "AllowEcho" : false,
     //  "AllowFind" : false,
     //  "AllowMove" : false,