diff OrthancServer/OrthancRestApi/OrthancRestAnonymizeModify.cpp @ 1645:1558b3226b18

IHttpExceptionFormatter
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 24 Sep 2015 15:55:17 +0200
parents 4e56b5a206b7
children 69f7822ee254
line wrap: on
line diff
--- a/OrthancServer/OrthancRestApi/OrthancRestAnonymizeModify.cpp	Wed Sep 23 22:05:27 2015 +0200
+++ b/OrthancServer/OrthancRestApi/OrthancRestAnonymizeModify.cpp	Thu Sep 24 15:55:17 2015 +0200
@@ -365,6 +365,8 @@
 
   static void ModifyInstance(RestApiPostCall& call)
   {
+    throw OrthancException(ErrorCode_CannotStoreInstance);
+
     DicomModification modification;
     modification.SetAllowManualIdentifiers(true);