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

Throw error object with more information when error connecting to proxy #69

Open
piyu-sh opened this issue Mar 19, 2020 · 1 comment
Open

Comments

@piyu-sh
Copy link

piyu-sh commented Mar 19, 2020

Hi @NikolaiT , first of all great work !
While using this library I was wondering that while connecting using a proxy file, is there a reliable way to know which proxy failed to connect so that we can eliminate that proxy and re instantiate with another proxy.

I was thinking if in async run({page, data, worker}) function, an error is thrown whenever connection fails with either worker or page.browser().process().spawnargs as error object, they can be used to determine which proxy was used to spawn that job or process.
What do you think ?

@ahmed-akram
Copy link

what is your proxy connection format?

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