mirror of
https://github.com/go-gitea/gitea
synced 2025-01-25 02:57:44 +01:00
Update routers/web/repo/issue_dev.go
Co-authored-by: yp05327 <576951401@qq.com>
This commit is contained in:
parent
cbeed1168f
commit
86e4f29d20
@ -42,7 +42,7 @@ func CreateBranchFromIssue(ctx *context.Context) {
|
||||
}
|
||||
gitRepo, err = gitrepo.OpenRepository(ctx, repo)
|
||||
if err != nil {
|
||||
ctx.ServerError("GetRepositoryByID", err)
|
||||
ctx.ServerError("OpenRepository", err)
|
||||
return
|
||||
}
|
||||
defer gitRepo.Close()
|
||||
|
Loading…
x
Reference in New Issue
Block a user