From 75fc405f5c5cc995528c1807ee452541e5477703 Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Fri, 22 Mar 2019 12:06:09 +0100 Subject: [PATCH] Fix bug --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.js b/server.js index e155b24..2c3e7d8 100644 --- a/server.js +++ b/server.js @@ -101,7 +101,7 @@ app.use(fileUpload()); app.get('/', (req, res) => { fs.readFile('assets/data.json', 'utf-8', (err, data) => { if (err != null) { - console.log("Error: " + e); + console.log(err); } let parsed = parse(data); res.render('index', parsed);