diff --git a/lib/utils.js b/lib/utils.js index a420ed5b..ad3e6346 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -248,9 +248,9 @@ const sessionDataDefaultsFile = path.join(__dirname, '../app/data/session-data-d try { /* eslint-disable-next-line */ sessionDataDefaults = require(sessionDataDefaultsFile); -} catch (e) { +} catch (error) { console.error('Could not load the session data defaults from app/data/session-data-defaults.js. Might be a syntax error?'); // eslint-disable-line no-console - console.error(e) + console.error(error) } // Middleware - store any data sent in session, and pass it to all views