diff --git a/src/bot/message-sender.js b/src/bot/message-sender.js index 23313203..0e02c4f3 100644 --- a/src/bot/message-sender.js +++ b/src/bot/message-sender.js @@ -60,7 +60,8 @@ export async function sendStreamingMessage(ctx, text, options = {}) { // Log response structure - try to understand the format logger.info('📡 Response typeof:', typeof sentMsg); - logger.info('📡 sentMsg:', JSON.stringify(sentMsg).substring(0, 300)); + logger.info('📡 sentMsg constructor:', sentMsg?.constructor?.name); + logger.info('📡 sentMsg has result?:', 'result' in (sentMsg || {})); // The response might be wrapped in a 'result' property const response = sentMsg?.result || sentMsg;