Skip to content

Error: Callback was already called #130

@Buyachaka

Description

@Buyachaka

Hello, I found a stack trace leading to a callback error of being called multiple times.

I narrowed it down where it happens in my code, and where it is happening should not be a problem on my side.

Checking the vimeo.js file I can see that on "Vimeo.prototype.request" it would call "_handleRequest" using the same callback as when it is checking for req.on('error").

If both were to run at the same request, that is a request that was sent and then received an error, this would cause the callback to be called twice causing the stacktrace.

Version: [email protected]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions