geopython / pygeoapi

pygeoapi is a Python server implementation of the OGC API suite of standards. The project emerged as part of the next generation OGC API efforts in 2018 and provides the capability for organizations to deploy a RESTful OGC API endpoint using OpenAPI, GeoJSON, and HTML. pygeoapi is open source and released under an MIT license.
https://pygeoapi.io
MIT License
460 stars 250 forks source link

provide more error description for processes #1620

Closed tomkralidis closed 2 months ago

tomkralidis commented 2 months ago

Description Process errors currently provide a description of Error updating job, whereas more detailed information can be found in the logs. This prevents the client from having a better idea of what went wrong without contacting the pygeoapi administrator to provide an explanation/trace.

Steps to Reproduce

curl -X 'POST' \
  'http://localhost:5000/processes/hello-world/execution' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "inputs": {
    "ndame": "World"2
  }
}'

Expected behavior Processes should be allowed to provide a clearer explanation to the user of what went wrong.

Screenshots/Tracebacks If applicable, add screenshots to help explain your problem.

Environment

Additional context None