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

asyncHooksRegEx doesn't match the correct traces #34

Open
hmeerlo opened this issue Oct 7, 2022 · 1 comment
Open

asyncHooksRegEx doesn't match the correct traces #34

hmeerlo opened this issue Oct 7, 2022 · 1 comment

Comments

@hmeerlo
Copy link

hmeerlo commented Oct 7, 2022

Hey, I noticed that all my stack traces start with AsyncHook.init so I looked at the source code and the following regex:

const asyncHooksRegEx = /\((internal\/)?async_hooks\.js:/ at index.js:7

doesn't match my stack trace. In my stack traces there is no .js extension for the async_hooks calls.

@naugtur
Copy link
Owner

naugtur commented Oct 7, 2022

I found out about it this week and need to find some time to fix it. The tests are not passing

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

No branches or pull requests

2 participants