Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf2758e5

Browse files
committed
Fixed some error messages and releasing the semaphore on a git open repo error.
1 parent791965c commitf2758e5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎pipeline/git.go‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,10 @@ func updateAllCurrentPipelines() {
123123
sem<-1
124124
r,err:=git.PlainOpen(pipe.Repo.LocalDest)
125125
iferr!=nil {
126-
gaia.Cfg.Logger.Debug("error while opening repo: ",pipe.Repo.LocalDest,err.Error())
126+
// We don't stop gaia working because of an automated update failed.
127+
// So we just move on.
128+
gaia.Cfg.Logger.Error("error while opening repo: ",pipe.Repo.LocalDest,err.Error())
129+
<-sem
127130
return
128131
}
129132
gaia.Cfg.Logger.Debug("checking pipeline: ",pipe.Name)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp