From 7dbeb6f42ede13710f4fae5c3c79b1bd809ce52e Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Tue, 12 Jul 2016 13:43:32 +0200 Subject: [PATCH] Use Warning instead of Error on sql failure in badge --- server/badge.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/badge.go b/server/badge.go index 4dc0281f..eb93d866 100644 --- a/server/badge.go +++ b/server/badge.go @@ -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 }