-
-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Catch puppeteer errors not possible? #165
Comments
+1 |
Hello @rielzzapps 👋 Thank you for opening this issue 🙏 Can you share the content of the html variable so I can reproduce your issue, please? |
< video id="video_background" preload="auto" autoplay="true" loop="true" muted="muted" class="video-9--6_I"> (remove spaces after <) |
+1 |
+1 |
I'm maintaining this repository on my free time. If someone want to investigate on this it would be appreciated otherwise I'll give it a look when I have time to do it. The link @krylovaaleksandra provided does not seems to work 🤔 I would prefer to have a full reproductible example. The more you provide the easier it is to fix the issue 😄 |
Without any new answer I close this issue. Feels free to reopen it with full reproductible example 👍 |
The parser / puppeteer crashes with an error:
'Uncaught Error: Parse error on line 25:'
This might be malformed HTML, but I want to catch this error, to handle it and present the user a message.
(html is a string with html content here, that gets an image preview)
It seems like I am unable to catch a puppeteer error, not in a try/catch loop, nor in a .catch promise.
Any ideas?
The text was updated successfully, but these errors were encountered: