From 5a7d03d5811b99f355c03d7b6b42a4f17bc9b22f Mon Sep 17 00:00:00 2001 From: "B. Petersen" Date: Sun, 31 Dec 2023 16:05:49 +0100 Subject: [PATCH] if image thumbnails cannot be generated, these are often unsupported formats (webp or so), this is expected and worth a warning only --- deltachat-ios/Model/GalleryItem.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deltachat-ios/Model/GalleryItem.swift b/deltachat-ios/Model/GalleryItem.swift index 50a0e9fb0..77bb16d29 100644 --- a/deltachat-ios/Model/GalleryItem.swift +++ b/deltachat-ios/Model/GalleryItem.swift @@ -81,7 +81,7 @@ class GalleryItem: ContextMenuItem { self?.thumbnailImage = image } } else { - logger.error("cannot load image thumbnail for \(url)") + logger.warning("cannot load image thumbnail for \(url)") self?.setLoadingFailedPlaceholder() } } @@ -94,7 +94,7 @@ class GalleryItem: ContextMenuItem { self?.thumbnailImage = image } } else { - logger.error("cannot load video thumbnail for \(url)") + logger.warning("cannot load video thumbnail for \(url)") self?.setLoadingFailedPlaceholder() } } @@ -107,7 +107,7 @@ class GalleryItem: ContextMenuItem { self?.thumbnailImage = image } } else { - logger.error("cannot load webxdc thumbnail for \(message.file ?? "ErrName")") + logger.warning("cannot load webxdc thumbnail for \(message.file ?? "ErrName")") self?.setLoadingFailedPlaceholder() } }