Mercurial > hg > orthanc
comparison OrthancServer/Scheduler/ModifyInstanceCommand.cpp @ 2471:51ea632f0c55
removed 'in Lua script' in error messages that is misleading since these commands can also be called from the API
author | amazy |
---|---|
date | Wed, 17 Jan 2018 21:33:56 +0100 |
parents | 878b59270859 |
children | 6db878376018 |
comparison
equal
deleted
inserted
replaced
2470:45de30d4f362 | 2471:51ea632f0c55 |
---|---|
113 // Only chain with other commands if this command succeeds | 113 // Only chain with other commands if this command succeeds |
114 outputs.push_back(modifiedId); | 114 outputs.push_back(modifiedId); |
115 } | 115 } |
116 catch (OrthancException& e) | 116 catch (OrthancException& e) |
117 { | 117 { |
118 LOG(ERROR) << "Unable to modify instance " << *it << " in a Lua script: " << e.What(); | 118 LOG(ERROR) << "Unable to modify instance " << *it << ": " << e.What(); |
119 } | 119 } |
120 } | 120 } |
121 | 121 |
122 return true; | 122 return true; |
123 } | 123 } |