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

cluster.execute catch cannot retrieve original url #490

Open
Abdull opened this issue Oct 10, 2022 · 0 comments
Open

cluster.execute catch cannot retrieve original url #490

Abdull opened this issue Oct 10, 2022 · 0 comments

Comments

@Abdull
Copy link

Abdull commented Oct 10, 2022

Environment:

puppeteer-cluster@0.23.0
puppeteer@18.2.1

Using const promise = cluster.execute(url), there doesn't seem to be a way to retrieve the initial url in promise.catch(e).

E.g., on timeouts, e will be a plain Error instance with message Timeout hit: ${millis}.

It would be helpful to retrieve the original url (... or is there some other means to do so?).

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

1 participant