Skip to content

Conversation

Nitin-Mohapatra
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

logError swallows error details (such as cause)
1 participant