1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2024-12-21 01:22:08 +02:00

Add more logging for image format tests #127.

This commit is contained in:
Patrik J. Braun 2024-07-04 22:43:30 +02:00
parent e810135282
commit 67e9b995a9

View File

@ -313,8 +313,10 @@ export class ConfigDiagnostics {
// Check if a test available for this image format. // Check if a test available for this image format.
// if not probably because it is trivial // if not probably because it is trivial
if (!fs.existsSync(testImage)) { if (!fs.existsSync(testImage)) {
Logger.silly(LOG_TAG, `No test for ${ext} image format. skipping.`);
continue; continue;
} }
Logger.silly(LOG_TAG, `Testing ${ext} image formats.`);
try { try {
await PhotoWorker.renderFromImage({ await PhotoWorker.renderFromImage({
type: ThumbnailSourceType.Photo, type: ThumbnailSourceType.Photo,