From 5db4a25f04ee47c33f6c7ebc5b0d6ab98dc5d286 Mon Sep 17 00:00:00 2001 From: velvettear Date: Thu, 23 Nov 2023 17:15:36 +0100 Subject: [PATCH] log name of already existing image --- internal/unsplash/image.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/unsplash/image.go b/internal/unsplash/image.go index 7924f2f..b304e00 100644 --- a/internal/unsplash/image.go +++ b/internal/unsplash/image.go @@ -25,7 +25,7 @@ func (image *Image) Download() (string, error) { return "image is invalid", nil } if image.Exists() { - return "image already exists", nil + return "image '" + image.Name + "' already exists", nil } path := image.getPath() loggo.Info("downloading image '" + image.Name + "' from unsplash...")