You've already forked pigallery2
mirror of
https://github.com/bpatrik/pigallery2.git
synced 2025-07-15 01:24:25 +02:00
Add more logging for image format tests #127.
This commit is contained in:
@ -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,
|
||||||
|
Reference in New Issue
Block a user