Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mglaman opened this issue Feb 21, 2024 · 0 comments
Open
Labels
area: next-drupal enhancement New feature or request

Comments

@mglaman
Copy link
Contributor

mglaman commented Feb 21, 2024

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.

@mglaman mglaman added enhancement New feature or request triage A new issue that needs triage labels Feb 21, 2024
@JohnAlbin JohnAlbin added area: next-drupal and removed triage A new issue that needs triage labels Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: next-drupal enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants