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

Test that logged simple handler errors has a stack #4519

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kanongil
Copy link
Contributor

This adds a test for the error.stack property to illustrate a node v22 regression.

This should be able to be fixed with hapijs/hoek#390.

Again, feel free to backport my old PR to fix this, but personally I would prefer to declare that Hapi v21 and any modules that use Hoek.clone() on potential errors (at least Hoek, Boom, and Podium) does not support node 21+.

@kanongil kanongil added the test Test or coverage label Jul 28, 2024
kanongil added a commit to kanongil/nipo that referenced this pull request Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Test or coverage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant