Mercurial > hg > orthanc
diff Core/JobsEngine/JobsRegistry.h @ 3240:e44e0127e553
Fix issue #134 (/patient/modify gives 500, should really be 400)
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 15 Feb 2019 17:26:45 +0100 |
parents | fca730c267d7 |
children | 94f4a18a79cc |
line wrap: on
line diff
--- a/Core/JobsEngine/JobsRegistry.h Fri Feb 15 16:38:12 2019 +0100 +++ b/Core/JobsEngine/JobsRegistry.h Fri Feb 15 17:26:45 2019 +0100 @@ -175,7 +175,7 @@ void Submit(IJob* job, // Takes ownership int priority); - bool SubmitAndWait(Json::Value& successContent, + void SubmitAndWait(Json::Value& successContent, IJob* job, // Takes ownership int priority); @@ -248,7 +248,8 @@ void MarkRetry(unsigned int timeout); - void UpdateStatus(ErrorCode code); + void UpdateStatus(ErrorCode code, + const std::string& details); }; }; }