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:
parent
e810135282
commit
67e9b995a9
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user