chore(telegram): remove temporary tracing logs

This commit is contained in:
USO Status 2026-01-26 20:35:11 +01:00
parent e7486d1a55
commit 44a13df83b

View File

@ -246,11 +246,7 @@ export async function sendMessageTelegram(
throw wrapChatNotFound(err);
},
);
if (res?.message_id) {
console.error(
`[CRITICAL LOG] [telegram/send.ts] Sent message ${res.message_id} to ${chatId}. Payload: ${JSON.stringify({ text: rawText, params: sendParams })}`,
);
}
return res;
};
@ -526,9 +522,6 @@ export async function editMessageTelegram(
}),
"editMessage",
);
console.error(
`[CRITICAL LOG] [telegram/send.ts] Edited message ${messageId} in chat ${chatId}. Payload: ${JSON.stringify({ text, htmlText })}`,
);
} catch (err) {
// If HTML parsing fails, fall back to plain text
const errText = formatErrorMessage(err);