mirror of
https://codeberg.org/pluja/kycnot.me
synced 2025-07-05 12:04:37 -04:00
only output could not get pic on debug mode
This commit is contained in:
parent
192fccb443
commit
0229c499e5
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue