Project

Profile

Help

Issue #6502

Updated by pulpbot over 2 years ago

 

 **Ticket moved to GitHub**: "pulp/pulpcore/1882":https://github.com/pulp/pulpcore/issues/1882 




 ---- 


 In the documentation, the "error" field of a returned Task is typed as an "object" (https://docs.pulpproject.org/restapi.html#operation/tasks_read). While true, it is rather unhelpful :). 

 Looking at the code, it is a python exception pulled through pulpcore/exceptions/base.py's exception_to_dict. This would mean that the object has 2 fields: "description" and "traceback". It would be great if the Error object ended up in the OpenAPI definition. 

Back