Project

Profile

Help

Task #2634

Add information about error reporting to dev guide

Added by semyers about 2 months ago. Updated about 2 months ago.

Status:
NEW
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
% Done:

0%

Platform Release:
Blocks Release:
Backwards Incompatible:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Documentation, Pulp 3
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No

Description

Django Rest Framework has some helpful error handling features, effectively response middleware, that can be used within Pulp to help us implement a single mechanism for handling exceptions and returning meaningful errors to users when raising Exceptions, or when unhandled exceptions require a 500 response.

We should explore DRF's options for this and document a plan for handling exceptions in the API to prevent having multiple error-handling implementations in the project.

Please register to edit this issue

Also available in: Atom PDF