diff Core/WebServiceParameters.cpp @ 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 94f4a18a79cc
children da06381f3091
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);
         }
       }
     }