Thanks to visit codestin.com
Credit goes to github.com

Skip to content

is there any way to check api is unable to connect to github or internet not found #388

Closed
@shanalikhan

Description

@shanalikhan

Is there any way to check from github api that its unable to connect to github and internet is not connected so when i initialize the api by this :

  GitHubApi = require("github");
        github = new GitHubApi({
            version: "3.0.0"
        });

it should tell by exception that unable to connect to github or internet not connected to allow me to stop using other operations of this API

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