aboutsummaryrefslogtreecommitdiff
path: root/routes/repo/branch.go
diff options
context:
space:
mode:
Diffstat (limited to 'routes/repo/branch.go')
-rw-r--r--routes/repo/branch.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/repo/branch.go b/routes/repo/branch.go
index 072234ce..432ebe86 100644
--- a/routes/repo/branch.go
+++ b/routes/repo/branch.go
@@ -124,7 +124,7 @@ func DeleteBranchPost(c *context.Context) {
if len(commitID) > 0 {
branchCommitID, err := c.Repo.GitRepo.GetBranchCommitID(branchName)
if err != nil {
- log.Error(2, "Failed to get commit ID of branch %q: %v", err)
+ log.Error(2, "Failed to get commit ID of branch %q: %v", branchName, err)
return
}