Skip to content
This repository was archived by the owner on May 24, 2024. It is now read-only.

Commit ad26e05

Browse files
fix get head issue (#83)
Signed-off-by: Ayman <[email protected]> Co-authored-by: Ayman <[email protected]>
1 parent 1ca6446 commit ad26e05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/git/git.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3040,7 +3040,7 @@ func (j *DSGit) setLastSync(ctx *shared.Ctx) error {
30403040

30413041
commitID, err := j.getHead(ctx)
30423042
if err != nil {
3043-
return err
3043+
j.log.WithFields(logrus.Fields{"operation": "getHead"}).Warningf("error getting repository head %v", err)
30443044
}
30453045

30463046
gMaxUpstreamDtMtx.Lock()

0 commit comments

Comments
 (0)