Mercurial > hg > orthanc
changeset 4667:08ee98bf103e
"/jobs/..." has new field "ErrorDetails" to help identify the cause of an error
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 27 May 2021 15:59:03 +0200 |
parents | 3294385a245a |
children | 9210e196cd98 |
files | NEWS OrthancFramework/Sources/JobsEngine/JobInfo.cpp |
diffstat | 2 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/NEWS Fri May 21 11:25:35 2021 +0200 +++ b/NEWS Thu May 27 15:59:03 2021 +0200 @@ -1,7 +1,11 @@ Pending changes in the mainline =============================== +REST API +-------- + * "Replace" tags in "/modify" and "/anonymize" now supports value representation AT +* "/jobs/..." has new field "ErrorDetails" to help identify the cause of an error Version 1.9.3 (2021-05-07)
--- a/OrthancFramework/Sources/JobsEngine/JobInfo.cpp Fri May 21 11:25:35 2021 +0200 +++ b/OrthancFramework/Sources/JobsEngine/JobInfo.cpp Thu May 27 15:59:03 2021 +0200 @@ -176,6 +176,7 @@ target["Priority"] = priority_; target["ErrorCode"] = static_cast<int>(status_.GetErrorCode()); target["ErrorDescription"] = EnumerationToString(status_.GetErrorCode()); + target["ErrorDetails"] = status_.GetDetails(); target["State"] = EnumerationToString(state_); target["Timestamp"] = boost::posix_time::to_iso_string(timestamp_); target["CreationTime"] = boost::posix_time::to_iso_string(creationTime_);