Quite log messages

This commit is contained in:
Owen
2025-12-08 22:07:17 -05:00
parent 887af85db1
commit 18498a32ce

View File

@@ -55,9 +55,9 @@ const processMessage = async (
try { try {
const message: WSMessage = JSON.parse(data.toString()); const message: WSMessage = JSON.parse(data.toString());
logger.debug( // logger.debug(
`Processing message from ${clientType.toUpperCase()} ID: ${clientId}, type: ${message.type}` // `Processing message from ${clientType.toUpperCase()} ID: ${clientId}, type: ${message.type}`
); // );
if (!message.type || typeof message.type !== "string") { if (!message.type || typeof message.type !== "string") {
throw new Error("Invalid message format: missing or invalid type"); throw new Error("Invalid message format: missing or invalid type");