Mercurial > hg > orthanc
comparison OrthancServer/ServerJobs/Operations/StorePeerOperation.cpp @ 2651:1da5a052c777 jobs
testing value serialization
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 04 Jun 2018 11:53:12 +0200 |
parents | 3ce8863398ab |
children | 761031029aa9 |
comparison
equal
deleted
inserted
replaced
2650:5f2dd8b6ee2f | 2651:1da5a052c777 |
---|---|
61 LOG(INFO) << "Lua: Sending instance " << instance.GetId() << " to Orthanc peer \"" | 61 LOG(INFO) << "Lua: Sending instance " << instance.GetId() << " to Orthanc peer \"" |
62 << peer_.GetUrl() << "\""; | 62 << peer_.GetUrl() << "\""; |
63 | 63 |
64 try | 64 try |
65 { | 65 { |
66 instance.ReadContent(client.GetBody()); | 66 instance.ReadDicom(client.GetBody()); |
67 | 67 |
68 std::string answer; | 68 std::string answer; |
69 if (!client.Apply(answer)) | 69 if (!client.Apply(answer)) |
70 { | 70 { |
71 LOG(ERROR) << "Lua: Unable to send instance " << instance.GetId() | 71 LOG(ERROR) << "Lua: Unable to send instance " << instance.GetId() |