🧹 Clean up logger utility by removing extra whitespace and simplifying arrow function syntax

This commit is contained in:
2026-01-29 13:19:05 +00:00
parent 2327557764
commit ee24b9bffc

View File

@@ -131,7 +131,7 @@ export function errorLogger(err, req, res, next) {
/**
* Log uncaught exceptions and unhandled rejections
*/
process.on('uncaughtException', (error) => {
process.on('uncaughtException', error => {
logger.error('Uncaught Exception', {
error: error.message,
stack: error.stack