-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
puppeteer.launch({ pipe: true }) may crash due to unhandled stream errors #4374
Comments
justjake
changed the title
puppeteer.launch({ pipe: true })` may crash due to unhandled stream errors
puppeteer.launch({ pipe: true }) may crash due to unhandled stream errors
May 1, 2019
Here's the workaround I'm using: master...justjake:master |
👍 + 1 for being able to prevent pipe errors from crashing our process. |
aslushnikov
added a commit
to aslushnikov/puppeteer
that referenced
this issue
Jul 15, 2019
aslushnikov
added a commit
that referenced
this issue
Jul 16, 2019
@aslushnikov Thank you. |
This was referenced Feb 3, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps to reproduce
Tell us about your environment:
node:10.15.3-slim
What steps will reproduce the problem?
Attempt to
puppeteer.launch({ pipe: true })
with any condition that causes Chrome to crash on launch.To demonstrate, I launch
bash
instead of Chrome, but you can also reproduce this using justpuppeteer.launch({ pipe: true })
in a standard Docker container where Chrome can't use its sandbox. The behavior is very similar.What is the expected result?
puppeteer.launch()
should either throw an error, or return a rejected promise in all error cases.Ideal output:
What happens instead?
The text was updated successfully, but these errors were encountered: