only output could not get pic on debug mode

This commit is contained in:
pluja 2024-02-25 17:42:54 +01:00
parent 192fccb443
commit 0229c499e5

View File

@ -64,7 +64,7 @@ func (s *Server) handleApiPicture(c iris.Context) {
resp, err := s.HttpClient.Do(req)
if err != nil || resp.StatusCode != http.StatusOK {
log.Error().Err(err).Msgf("GetPicture: Could not get image for %s", service.Name)
log.Debug().Err(err).Msgf("GetPicture: Could not get image for %s", service.Name)
respondWithPlaceholder(c, service.Name)
return
}