Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Show friendly error when user doesn't have permission to create a pull request #2257

Open
@meaghanlewis

Description

@meaghanlewis

Versions

  • GitHub Extension for Visual Studio version: ...
  • Visual Studio version: ...

What happened

Steps to Reproduce

  1. Connect to a repository for which you don't have write access.
  2. Change a file , commit, and go to create a pull request.
  3. See an error message: "Request failed with status code: 403"

image 11

Expected behavior

A more friendly error message like: "You don't have permission to create a pull request"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions