express
express copied to clipboard
Improve error logging by logging full error object
This PR updates the logerror function in application.js to use console.error(err) instead of err.stack || err.toString().
This change improves error visibility, especially for complex or nested errors (like those thrown by Sequelize), and supports modern features like Error.cause.
Fixes: #6462