From cb35af83227543767aa0e7feed06599909e3b7be53cc78929414a92bf585462b Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Mon, 15 Jul 2024 21:22:58 +0200 Subject: [PATCH] . --- bots-common/git_utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bots-common/git_utils.go b/bots-common/git_utils.go index 0079053..77211d1 100644 --- a/bots-common/git_utils.go +++ b/bots-common/git_utils.go @@ -282,7 +282,7 @@ func parseGitMsg(data <-chan byte) (gitMsg, error) { id[pos] = c pos++ } else { - return gitMsg{}, errors.New("Invalid character during object hash parse") + return gitMsg{}, fmt.Errorf("Invalid character during object hash parse '%c' at %d", c, pos) } } id = id[:pos]