mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-30 10:11:23 +02:00
Use Sirupsen/logrus for logs
This commit is contained in:
parent
578f73c791
commit
042e779e08
@ -2,7 +2,7 @@ package server
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"log"
|
||||
log "github.com/Sirupsen/logrus"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
|
||||
@ -43,7 +43,7 @@ func GetBadge(c *gin.Context) {
|
||||
|
||||
build, err := store.GetBuildLast(c, repo, branch)
|
||||
if err != nil {
|
||||
log.Println(err)
|
||||
log.Error(err)
|
||||
c.String(200, badgeNone)
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user