Skip to content

feat(errors): default details, quieter logs #616

Closed

Description

@uniqueg

Two gaps in how FOCA reports errors, which cloud-registry and trs-filer each work around.

  • Default problem details: Connexion and Werkzeug exceptions that an app hasn't mapped should still produce a problem response in FOCA's format. Both apps carry the same mapping today.
  • Response validation failures: these are logged with the full response body. Log the operation and the validation error, without the body.

Acceptance criteria

  • Tests: unmapped exceptions keep their status and headers; app mappings still win; log output of a failed response validation contains no body; 100% coverage.
  • Docs: docs/configuration/exceptions.md.

Activity

  1. added this to the v0.21.0 milestone on Nov 3, 2026
  2. added
    priority: medium
    status: triage
    type: feature
    workload: days
    status: in progress
    and removed
    status: triage
    status: in progress
    on Nov 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: mediumtype: featureworkload: days

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions