Mercurial > hg > orthanc
comparison OrthancServer/ServerJobs/StoreScuOperation.cpp @ 2609:f7a84b551ee4 jobs
switch Lua to new jobs engine
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sat, 19 May 2018 16:29:00 +0200 |
parents | 25225f0b4f33 |
children | 2f3007bf0708 |
comparison
equal
deleted
inserted
replaced
2608:25225f0b4f33 | 2609:f7a84b551ee4 |
---|---|
68 try | 68 try |
69 { | 69 { |
70 std::string dicom; | 70 std::string dicom; |
71 instance.ReadContent(dicom); | 71 instance.ReadContent(dicom); |
72 resource->GetConnection().Store(dicom); | 72 resource->GetConnection().Store(dicom); |
73 outputs.Append(input.Clone()); | |
74 } | 73 } |
75 catch (OrthancException& e) | 74 catch (OrthancException& e) |
76 { | 75 { |
77 LOG(ERROR) << "Lua: Unable to send instance " << instance.GetId() << " to modality \"" | 76 LOG(ERROR) << "Lua: Unable to send instance " << instance.GetId() << " to modality \"" |
78 << modality_.GetApplicationEntityTitle() << "\": " << e.What(); | 77 << modality_.GetApplicationEntityTitle() << "\": " << e.What(); |
79 } | 78 } |
79 | |
80 outputs.Append(input.Clone()); | |
80 } | 81 } |
81 } | 82 } |