Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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