Problem/Motivation
Some REST resources might return generic errors or crash on unexpected input.
Proposed resolution
- Ensure all resources use
ResourceResponsewith appropriate HTTP status codes. - Implement robust validation for input data.
- Log critical errors using the Logger API.
Remaining tasks
Audit resources for proper error handling.
Issue fork myrest-3583696
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
sergeydruua commentedComment #5
sergeydruua commented