1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08: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.
// if not probably because it is trivial
if (!fs.existsSync(testImage)) {
Logger.silly(LOG_TAG, `No test for ${ext} image format. skipping.`);
continue;
}
Logger.silly(LOG_TAG, `Testing ${ext} image formats.`);
try {
await PhotoWorker.renderFromImage({
type: ThumbnailSourceType.Photo,