fix: more debug info in git commit check
This commit is contained in:
parent
48ab754ddf
commit
07ff31a696
|
@ -31,7 +31,7 @@ func NonAsciiMsg(root string) error {
|
|||
commits, err := repo.Log(&git.LogOptions{From: ref.Hash()})
|
||||
if err != nil {
|
||||
slog.Error("getting commits", "err", err)
|
||||
return fmt.Errorf("error getting commits: %v", err)
|
||||
return fmt.Errorf("error getting commits from reference %s: %v", ref.Hash(), err)
|
||||
}
|
||||
|
||||
var msgs []string
|
||||
|
|
Loading…
Reference in New Issue
Block a user