Skip to content

Clone hangs if repo doesn't exist #1072

@webjay

Description

@webjay

Here's a test case:
webjay@6c574a6

npm run mocha -- --grep "should fail fast if repo not found"

Mocha times out, but Nodegit should fail before that.

On a Heroku instance, after a very long time, I have seen it fail with Error: SSL error: syscall failure: Broken pipe.

In rare cases I have seen a 404, so perhaps this is GitHub related.

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