Improved logging & add graphicsmagick to docker file.
This commit is contained in:
@@ -51,7 +51,7 @@ export default async function GenerateThumbnail(
|
||||
}
|
||||
return path.relative(path.dirname(file), thumbPath);
|
||||
} catch (err) {
|
||||
logger.error("Error when genenerating thumbnail:", thumbPath, err);
|
||||
logger.error("Error when genenerating thumbnail:", { thumbPath, err });
|
||||
return path.relative(path.dirname(file), thumbPath);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -31,5 +31,5 @@ export default function InitServer() {
|
||||
logger.info(`Ensuring Vendors media path exists: ${FolderPaths.Vendors}`);
|
||||
fs.ensureDirSync(FolderPaths.Vendors);
|
||||
logger.info("Folder Paths", FolderPaths);
|
||||
logger.info("IMS Token set to:", (process.env.IMS_TOKEN || "").trim());
|
||||
logger.info("IMS Token set to: " + (process.env.IMS_TOKEN || "").trim());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user