소스 검색

up check to warning msg

zach rice 7 년 전
부모
커밋
829e8fed8c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      main.go

+ 1 - 1
main.go

@@ -362,7 +362,7 @@ func auditRef(r *git.Repository, ref *plumbing.Reference, commitWg *sync.WaitGro
 			)
 			patch, err := c.Patch(prevCommit)
 			if err != nil {
-				log.Infof("problem generating patch for commit: %s\n", c.Hash.String())
+				log.Warnf("problem generating patch for commit: %s\n", c.Hash.String())
 				if limitGoRoutines {
 					<-semaphore
 				}