diff --git a/server/controllers/assets/utils/serveFile.js b/server/controllers/assets/utils/serveFile.js index aa0f2e34..bf64620f 100644 --- a/server/controllers/assets/utils/serveFile.js +++ b/server/controllers/assets/utils/serveFile.js @@ -10,7 +10,7 @@ const serveFile = ({ filePath, fileType }, res) => { }; res.status(200).sendFile(filePath, sendFileOptions, (error) => { if (error) { - logger.warn(error); + logger.warn(filePath, error); res.status(404).send(); } });