Problem/Motivation

Some REST resources might return generic errors or crash on unexpected input.

Proposed resolution

  • Ensure all resources use ResourceResponse with 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

Command icon 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

sergeydruua created an issue. See original summary.

sergeydruua’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

sergeydruua’s picture

Status: Fixed » Closed (fixed)