comparison OrthancServer/Sources/ServerJobs/ResourceModificationJob.cpp @ 4819:70d2a97ca8cb openssl-3.x

integration mainline->openssl-3.x
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 25 Nov 2021 13:12:32 +0100
parents f0038043fb97 94616af363ec
children 2e71a08eea15
comparison
equal deleted inserted replaced
4785:61da49321754 4819:70d2a97ca8cb
276 /** 276 /**
277 * Store the resulting DICOM instance into the Orthanc store. 277 * Store the resulting DICOM instance into the Orthanc store.
278 **/ 278 **/
279 279
280 std::string modifiedInstance; 280 std::string modifiedInstance;
281 if (GetContext().Store(modifiedInstance, *toStore, 281 ServerContext::StoreResult result = GetContext().Store(modifiedInstance, *toStore, StoreInstanceMode_Default);
282 StoreInstanceMode_Default) != StoreStatus_Success) 282 if (result.GetStatus() != StoreStatus_Success)
283 { 283 {
284 throw OrthancException(ErrorCode_CannotStoreInstance, 284 throw OrthancException(ErrorCode_CannotStoreInstance,
285 "Error while storing a modified instance " + instance); 285 "Error while storing a modified instance " + instance);
286 } 286 }
287 287