From a82f5990f4296b48fa198e49c00d9502525a13a8 Mon Sep 17 00:00:00 2001 From: bill bittner Date: Mon, 7 May 2018 10:51:13 -0700 Subject: [PATCH] added file path to send file warning --- server/controllers/assets/utils/serveFile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } });