-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
[BUG] TypeError: domain.enter is not a function/ Browser.close() Promise does not resolve when "domain" package is used #3848
Comments
aslushnikov
added a commit
to aslushnikov/playwright
that referenced
this issue
Sep 14, 2020
Cherry-picking microsoft#3851 References microsoft#3848
aslushnikov
added a commit
that referenced
this issue
Sep 14, 2020
getting this error if using |
Yep we didn't release a version yet with this fix. As a workaround you can use the bleeding edge (master) version: |
Another workaround. Compile TS into JS and run compiled code. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Context:
Code Snippet
With express Sentry plugin:
Their "domain" implementation: https://github.com/getsentry/sentry-javascript/blob/7c142839036e77161a6f707196762eb718b723cc/packages/node/src/handlers.ts#L272-L281
On Heroku:
Describe the bug
Browser.close() blocks. The "after block" message won't get logged. This has probably something to do with this Slack message.
Maybe upstream? nodejs/node#34720
Relates getsentry/sentry-javascript#1843
But not sure why it did not happen in 1.3.
The text was updated successfully, but these errors were encountered: