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

avoid containing undici internals in error stacktrace in web api #2869

Closed
Uzlopak opened this issue Feb 28, 2024 · 2 comments · Fixed by #3227
Closed

avoid containing undici internals in error stacktrace in web api #2869

Uzlopak opened this issue Feb 28, 2024 · 2 comments · Fixed by #3227
Labels
enhancement New feature or request

Comments

@Uzlopak
Copy link
Contributor

Uzlopak commented Feb 28, 2024

I find it highly confusing, that e.g. when I call .body() on a fetch response and it errors I get all the internal functions in the stacktrace.

This is maybe more about convenience but it makes more sense when using fetch in nodejs... there i want to have e.g. less information about the internals.

@Uzlopak Uzlopak added the enhancement New feature or request label Feb 28, 2024
@metcoder95
Copy link
Member

I kind of recall we have a chat about this in the past along with @KhafraDev and @Ethan-Arrowood but not sure what was the outcome

@KhafraDev
Copy link
Member

I don't remember any previous discussion but the stack trace lying to you doesn't seem like a great idea

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants