Skip to content

Adding deploy key with duplicate name: unclear error message #13110

@chrisshyi

Description

@chrisshyi
  • Gitea version (or commit ref): 845d0af
  • Git version: 2.25.1
  • Operating system: Ubuntu 20.04.1
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

Gitea only displays a HTTP 500 error page when the user attempts to add a deploy key that has the same name as an existing key (the keys themselves are different). I'd like to work on the displaying of a more informative error message when this occurs.

Screenshots

image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions