Use Warning instead of Error on sql failure in badge
This commit is contained in:
parent
042e779e08
commit
7dbeb6f42e
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ func GetBadge(c *gin.Context) {
|
||||||
|
|
||||||
build, err := store.GetBuildLast(c, repo, branch)
|
build, err := store.GetBuildLast(c, repo, branch)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Error(err)
|
log.Warning(err)
|
||||||
c.String(200, badgeNone)
|
c.String(200, badgeNone)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue