- replace unusued throw new Error by logger.error
- remove unusued variables isWindows, err
- remove unusued logFormat
- remove unusued imports logSessionEnd
This commit is contained in:
MasterAcnolo
2026-09-09 09:21:11 +02:00
parent e2c2dde4a2
commit e541eb442a
7 changed files with 7 additions and 12 deletions

View File

@@ -77,11 +77,11 @@ async function infoController(req, res) {
);
// Preserve original error context
throw err;
logger.error(err);
}
} else {
throw err;
logger.error(err);
}
}