comparison OrthancServer/ServerJobs/StorePeerOperation.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
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()
72 << " to Orthanc peer \"" << peer_.GetUrl(); 72 << " to Orthanc peer \"" << peer_.GetUrl();
73 } 73 }
74
75 outputs.Append(input.Clone());
76 } 74 }
77 catch (OrthancException& e) 75 catch (OrthancException& e)
78 { 76 {
79 LOG(ERROR) << "Lua: Unable to send instance " << instance.GetId() 77 LOG(ERROR) << "Lua: Unable to send instance " << instance.GetId()
80 << " to Orthanc peer \"" << peer_.GetUrl() << "\": " << e.What(); 78 << " to Orthanc peer \"" << peer_.GetUrl() << "\": " << e.What();
81 } 79 }
80
81 outputs.Append(input.Clone());
82 } 82 }
83 } 83 }