From 86e4f29d20c6a6522743e3cc31a601349ea6ae8a Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Thu, 10 Oct 2024 09:25:00 +0800 Subject: [PATCH] Update routers/web/repo/issue_dev.go Co-authored-by: yp05327 <576951401@qq.com> --- routers/web/repo/issue_dev.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routers/web/repo/issue_dev.go b/routers/web/repo/issue_dev.go index 8f9548beb8..8f609c5c0b 100644 --- a/routers/web/repo/issue_dev.go +++ b/routers/web/repo/issue_dev.go @@ -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()