Skip to content

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

@piyu-sh

Description

@piyu-sh

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions