Skip to content

Revalidators have verbose logged for success but not failure in debug mode #696

Open
@mglaman

Description

@mglaman

Package

next (Drupal module)

Describe the feature request

With the path revalidator, if using debug mode only messages about initiation and success have messages displayed. To see why something failed you have to check the logs: https://github.com/chapter-three/next-drupal/blob/main/modules/next/src/Plugin/Next/Revalidator/Path.php#L95-L121

A message could be displayed with the exception's message content (or extracting body response if HTTP exception from the client.)

Describe the solution you'd like

Display a message instead of silently logging the error

Describe alternatives you've considered

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions