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

Merged
merged 1 commit into from
Oct 24, 2024

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
@Marsup
Copy link
Contributor

Marsup commented Oct 24, 2024

Looks like it passes now that hoek 11.0.5 is released. I'll make another PR to force that version.

@Marsup Marsup merged commit 286cea9 into hapijs:master Oct 24, 2024
10 checks passed
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.

2 participants