chore(telegram): remove temporary tracing logs
This commit is contained in:
parent
e7486d1a55
commit
44a13df83b
@ -246,11 +246,7 @@ export async function sendMessageTelegram(
|
|||||||
throw wrapChatNotFound(err);
|
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;
|
return res;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -526,9 +522,6 @@ export async function editMessageTelegram(
|
|||||||
}),
|
}),
|
||||||
"editMessage",
|
"editMessage",
|
||||||
);
|
);
|
||||||
console.error(
|
|
||||||
`[CRITICAL LOG] [telegram/send.ts] Edited message ${messageId} in chat ${chatId}. Payload: ${JSON.stringify({ text, htmlText })}`,
|
|
||||||
);
|
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
// If HTML parsing fails, fall back to plain text
|
// If HTML parsing fails, fall back to plain text
|
||||||
const errText = formatErrorMessage(err);
|
const errText = formatErrorMessage(err);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user