Skip to content

🎧 Your Personal Streaming Service

Better log message

Deluand9d0a976743f
diff --git a/server/backgrounds/handler.go b/server/backgrounds/handler.go
index 3b3c19f17..611bba3f5 100644
--- a/server/backgrounds/handler.go
+++ b/server/backgrounds/handler.go
@@ -74,13 +74,13 @@ func (h *Handler) getImageList(ctx context.Context) ([]string, error) {
req, _ := http.NewRequestWithContext(ctx, http.MethodGet, buildPath(ndImageServiceURL, "index.yml"), nil)
resp, err := c.Do(req)
if err != nil {
- log.Warn(ctx, "Could not get list from image service", err)
+ log.Warn(ctx, "Could not get background images from image service", err)
return nil, err
}
defer resp.Body.Close()
dec := yaml.NewDecoder(resp.Body)
err = dec.Decode(&h.list)
- log.Debug(ctx, "Loaded images from image service", "total", len(h.list), "elapsed", time.Since(start))
+ log.Debug(ctx, "Loaded background images from image service", "total", len(h.list), "elapsed", time.Since(start))
return h.list, err
}