From 69d98f83f9a62a7e70976b5d973f293f73e42266 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Wed, 8 Nov 2023 21:50:20 +0800 Subject: [PATCH] Fix format error (#27963) --- modules/context/repo.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/context/repo.go b/modules/context/repo.go index 9efa2ab3c..41683a693 100644 --- a/modules/context/repo.go +++ b/modules/context/repo.go @@ -850,7 +850,7 @@ func getRefName(ctx *Base, repo *Repository, pathType RepoRefType) string { return getRefNameFromPath(ctx, repo, path, func(s string) bool { b, exist, err := git_model.FindRenamedBranch(ctx, repo.Repository.ID, s) if err != nil { - log.Error("FindRenamedBranch", err) + log.Error("FindRenamedBranch: %v", err) return false }