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