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

Request context is not captured for rejected promise errors #10

Closed
toddhgardner opened this issue Jul 24, 2020 · 0 comments
Closed

Request context is not captured for rejected promise errors #10

toddhgardner opened this issue Jul 24, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@toddhgardner
Copy link
Member

The request context, such as the URL, method, and metadata, is not included on errors captured from rejected promises.

This is cased by nodejs/node#29051 and nodejs/node#26794, which prevents promise.domain from being included in the onUnhandledRejection event. This started as of NodeJS v12.0.0, and is still occurring as of v13.5.0.

I am unaware of how to workaround this limitation.

@toddhgardner toddhgardner self-assigned this Jul 24, 2020
@toddhgardner toddhgardner added the bug Something isn't working label Jul 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant