mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-29 20:00:30 +00:00
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)
|
||||
if err != nil {
|
||||
log.Error(err)
|
||||
log.Warning(err)
|
||||
c.String(200, badgeNone)
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue