Use Sirupsen/logrus for logs
This commit is contained in:
parent
578f73c791
commit
042e779e08
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue