Move manual popup to own page (#3981)

This commit is contained in:
qwerty287
2024-08-07 09:31:17 +02:00
committed by GitHub
parent c864f24ae4
commit 2d1bc9f15c
6 changed files with 168 additions and 142 deletions
+2 -1
View File
@@ -360,7 +360,8 @@ func GetRepoBranches(c *gin.Context) {
branches, err := _forge.Branches(c, user, repo, session.Pagination(c))
if err != nil {
_ = c.AbortWithError(http.StatusInternalServerError, err)
log.Error().Err(err).Msg("failed to load branches")
c.String(http.StatusInternalServerError, "failed to load branches: %s", err)
return
}