mirror of
https://codeberg.org/pluja/kycnot.me
synced 2024-10-01 01:05:59 -04:00
only output could not get pic on debug mode
This commit is contained in:
parent
192fccb443
commit
0229c499e5
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user