Use Warning instead of Error on sql failure in badge

This commit is contained in:
Sandro Santilli 2016-07-12 13:43:32 +02:00
parent 042e779e08
commit 7dbeb6f42e

View file

@ -43,7 +43,7 @@ func GetBadge(c *gin.Context) {
build, err := store.GetBuildLast(c, repo, branch)
if err != nil {
log.Error(err)
log.Warning(err)
c.String(200, badgeNone)
return
}