diff --git a/modules/git/repo_attribute.go b/modules/git/repo_attribute.go index 7651a4434..0008fcfe1 100644 --- a/modules/git/repo_attribute.go +++ b/modules/git/repo_attribute.go @@ -268,7 +268,7 @@ func (repo *Repository) GitAttributeChecker(treeish string, attributes ...string if err != nil && // If there is an error we need to return but: cmd.parentContext.Err() != err && // 1. Ignore the context error if the context is cancelled or exceeds the deadline (RunWithContext could return c.ctx.Err() which is Canceled or DeadlineExceeded) err.Error() != "signal: killed" { // 2. We should not pass up errors due to the program being killed - log.Error("failed to run attr-check. Error: %w\nStderr: %s", err, stdErr.String()) + log.Error("failed to run attr-check. Error: %v\nStderr: %s", err, stdErr.String()) } }()