Skip to content

Nicer error messages when a repository in a link doesn't exist #1

@1egoman

Description

@1egoman

Currently, if a repository in a link doesn't exist (likely because the repository was deleted), an error such as the one below is raised:

Couldn't search issues on repository foo/bar: {\"message\":\"Validation Failed\",\"errors\":[{\"message\":\"The listed users and repositories cannot be searched either because the resources do not exist or you do not have
 permission to view them.\",\"resource\":\"Search\",\"field\":\"q\",\"code\":\"invalid\"}],\"documentation_url\":\"https://developer.github.com/v3/search/\"}

Ideally, a better-sounding and nicer error that actually explains what's happening would be returned.

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