Mercurial > hg > orthanc
comparison OrthancServer/ServerJobs/Operations/StoreScuOperation.cpp @ 3734:4fc24b69446a storage-commitment
triggering storage commitment scu from REST API
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 10 Mar 2020 13:22:02 +0100 |
parents | 2a170a8f1faf |
children | d729d6e8b484 |
comparison
equal
deleted
inserted
replaced
3731:e7ff4f9b34bd | 3734:4fc24b69446a |
---|---|
68 | 68 |
69 try | 69 try |
70 { | 70 { |
71 std::string dicom; | 71 std::string dicom; |
72 instance.ReadDicom(dicom); | 72 instance.ReadDicom(dicom); |
73 resource->GetConnection().Store(dicom); | 73 |
74 std::string sopClassUid, sopInstanceUid; // Unused | |
75 resource->GetConnection().Store(sopClassUid, sopInstanceUid, dicom); | |
74 } | 76 } |
75 catch (OrthancException& e) | 77 catch (OrthancException& e) |
76 { | 78 { |
77 LOG(ERROR) << "Lua: Unable to send instance " << instance.GetId() << " to modality \"" | 79 LOG(ERROR) << "Lua: Unable to send instance " << instance.GetId() << " to modality \"" |
78 << modality_.GetApplicationEntityTitle() << "\": " << e.What(); | 80 << modality_.GetApplicationEntityTitle() << "\": " << e.What(); |