Skip to content

Commit

Permalink
Rename 'e' to 'error' for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardhorsford committed Nov 12, 2024
1 parent 50d73da commit de247ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit de247ee

Please sign in to comment.