Weaver: Workflow Execution Management Service (EMS); Application, Deployment and Execution Service (ADES); OGC API - Processes; WPS; CWL Application Package
When the job ends in status: failed, this field could be appended.
The exception details are already encoded in the job object: https://github.com/crim-ca/weaver/blob/d911c161721c2e25ee4663d34a49d2b218261710/weaver/datatype.py#L1403
Only need to add the value to the schema definition for it to be reported in the response.
Needs to consider which exception to return since a list is supported in the case of the existing job property.
Description
As per https://github.com/opengeospatial/ogcapi-processes/pull/399/files, the status response can now directly include the
exception
field.When the job ends in
status: failed
, this field could be appended. The exception details are already encoded in the job object: https://github.com/crim-ca/weaver/blob/d911c161721c2e25ee4663d34a49d2b218261710/weaver/datatype.py#L1403 Only need to add the value to the schema definition for it to be reported in the response. Needs to consider which exception to return since a list is supported in the case of the existing job property.References