Do not show 500 error when default branch doesn't exist (#34096)

Fix #34090
This commit is contained in:
wxiaoguang
2025-04-02 12:39:00 +08:00
committed by GitHub
parent 88352e0b25
commit 6ed1b26c58
5 changed files with 36 additions and 4 deletions

View File

@ -2733,6 +2733,7 @@ branch.restore_success = Branch "%s" has been restored.
branch.restore_failed = Failed to restore branch "%s".
branch.protected_deletion_failed = Branch "%s" is protected. It cannot be deleted.
branch.default_deletion_failed = Branch "%s" is the default branch. It cannot be deleted.
branch.default_branch_not_exist = Default branch "%s" does not exist.
branch.restore = Restore Branch "%s"
branch.download = Download Branch "%s"
branch.rename = Rename Branch "%s"