# HG changeset patch # User Sebastien Jodogne # Date 1622123943 -7200 # Node ID 08ee98bf103e75b53b5fc4999e5e551cdf253c14 # Parent 3294385a245a7287da5185dcd9fb753eb4eeda22 "/jobs/..." has new field "ErrorDetails" to help identify the cause of an error diff -r 3294385a245a -r 08ee98bf103e NEWS --- 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) diff -r 3294385a245a -r 08ee98bf103e OrthancFramework/Sources/JobsEngine/JobInfo.cpp --- 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(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_);