Mercurial > hg > orthanc
changeset 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 | 45de30d4f362 |
children | 808fd5218f56 |
files | OrthancServer/Scheduler/DeleteInstanceCommand.cpp OrthancServer/Scheduler/ModifyInstanceCommand.cpp OrthancServer/Scheduler/StorePeerCommand.cpp OrthancServer/Scheduler/StoreScuCommand.cpp |
diffstat | 4 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancServer/Scheduler/DeleteInstanceCommand.cpp Wed Jan 17 17:34:15 2018 +0100 +++ b/OrthancServer/Scheduler/DeleteInstanceCommand.cpp Wed Jan 17 21:33:56 2018 +0100 @@ -53,7 +53,7 @@ } catch (OrthancException& e) { - LOG(ERROR) << "Unable to delete instance " << *it << " in a Lua script: " << e.What(); + LOG(ERROR) << "Unable to delete instance " << *it << ": " << e.What(); } }
--- a/OrthancServer/Scheduler/ModifyInstanceCommand.cpp Wed Jan 17 17:34:15 2018 +0100 +++ b/OrthancServer/Scheduler/ModifyInstanceCommand.cpp Wed Jan 17 21:33:56 2018 +0100 @@ -115,7 +115,7 @@ } catch (OrthancException& e) { - LOG(ERROR) << "Unable to modify instance " << *it << " in a Lua script: " << e.What(); + LOG(ERROR) << "Unable to modify instance " << *it << ": " << e.What(); } }
--- a/OrthancServer/Scheduler/StorePeerCommand.cpp Wed Jan 17 17:34:15 2018 +0100 +++ b/OrthancServer/Scheduler/StorePeerCommand.cpp Wed Jan 17 21:33:56 2018 +0100 @@ -77,7 +77,7 @@ } catch (OrthancException& e) { - LOG(ERROR) << "Unable to forward to an Orthanc peer in a Lua script (instance " + LOG(ERROR) << "Unable to forward to an Orthanc peer in (instance " << *it << ", peer " << peer_.GetUrl() << "): " << e.What(); if (!ignoreExceptions_)
--- a/OrthancServer/Scheduler/StoreScuCommand.cpp Wed Jan 17 17:34:15 2018 +0100 +++ b/OrthancServer/Scheduler/StoreScuCommand.cpp Wed Jan 17 21:33:56 2018 +0100 @@ -84,7 +84,7 @@ { // Ignore transmission errors (e.g. if the remote modality is // powered off) - LOG(ERROR) << "Unable to forward to a modality in a Lua script (instance " + LOG(ERROR) << "Unable to forward to a modality in (instance " << *it << "): " << e.What(); if (!ignoreExceptions_)