Skip to content

Avoid printing “GraphQL error” for errors caused by the user #1686

Open

Description

@rohit2sharma95

When I am checking out to a PR that does not exist, I am getting a GraphQL error.

GraphQL error: Could not resolve to a PullRequest with the number of 45.

The error message should not include GraphQL error in the begging 🤔

Screenshot

image

Activity

  1. added
    bug
    on Sep 12, 2020
  2. mislav commented on Sep 14, 2020

    @mislav
    Contributor

    This is literally an error raised by our GraphQL API, since the PR does not exist, but I hear you that the GraphQL error part here is irrelevant at best and potentially misleading at worst. We'll think about how to improve this; thank you!

  3. changed the title [-]GraphQL error when checking out to a PR that does exist[/-] [+]Avoid printing “GraphQL error” for errors caused by the user[/+] on Sep 14, 2020
  4. added
    priority-3
    on Sep 30, 2020
  5. added
    gh-pr
    on Oct 2, 2023
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

    buggh-prpriority-3

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions