Skip to content

Commit

Permalink
if image thumbnails cannot be generated, these are often unsupported …
Browse files Browse the repository at this point in the history
…formats (webp or so), this is expected and worth a warning only
  • Loading branch information
r10s committed Dec 31, 2023
1 parent 1bd80d9 commit 5a7d03d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions deltachat-ios/Model/GalleryItem.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
}
Expand All @@ -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()
}
}
Expand All @@ -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()
}
}
Expand Down

0 comments on commit 5a7d03d

Please sign in to comment.