Skip to content
This repository was archived by the owner on May 8, 2020. It is now read-only.
This repository was archived by the owner on May 8, 2020. It is now read-only.

KeyError when send #293

@niespodd

Description

@niespodd

Hi

I'm getting KeyError in pyppeteer.connection in send here:
https://github.com/miyakogi/pyppeteer/blob/dev/pyppeteer/connection.py#L237

Despite the actual reason this is happening (perhaps some ws quirks), what is the rationale behind this code?

            if _id in self._callbacks:
                del self._callbacks[_id]
                _callback = self._callbacks[_id]

L237-239 connection.py

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