From ec55039ed4827b2993c3c88bf69153ea1fd56b31 Mon Sep 17 00:00:00 2001 From: Sijmen Date: Fri, 11 Sep 2020 21:44:58 +0200 Subject: [PATCH] Update downloader.go --- downloader/downloader.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/downloader/downloader.go b/downloader/downloader.go index 3faa758..9fa126d 100644 --- a/downloader/downloader.go +++ b/downloader/downloader.go @@ -241,7 +241,7 @@ func (d *Downloader) downloadImage(item *LibraryItem, filePath string) error { if err == nil { err = os.Chtimes(filePath, time.Now(), t) if err != nil { - log.Printf("Warning: Could not write timestamp to '%v': %v", filePath, err) + return err; } }