fix: chatSendFailed an Gateway melden wenn Chat-Input nicht gefunden
Made-with: Cursor
This commit is contained in:
parent
5192f2d8d4
commit
9dae55ac8c
1 changed files with 14 additions and 1 deletions
|
|
@ -1376,9 +1376,22 @@ export class BotOrchestrator {
|
|||
continue;
|
||||
}
|
||||
try {
|
||||
await this._chatProcedure.sendChatMessage(text);
|
||||
const sent = await this._chatProcedure.sendChatMessage(text);
|
||||
if (!sent) {
|
||||
this._logger.warn('Chat message not sent - chat input not found (panel may be closed)');
|
||||
this._sendToGateway({
|
||||
type: 'chatSendFailed',
|
||||
sessionId: this._sessionId,
|
||||
error: { reason: 'chat_input_not_found', text: text.substring(0, 200) },
|
||||
});
|
||||
}
|
||||
} catch (chatErr) {
|
||||
this._logger.error(`Failed to send chat message to meeting: ${chatErr}`);
|
||||
this._sendToGateway({
|
||||
type: 'chatSendFailed',
|
||||
sessionId: this._sessionId,
|
||||
error: { reason: 'exception', message: String(chatErr).substring(0, 200), text: text.substring(0, 200) },
|
||||
});
|
||||
}
|
||||
}
|
||||
this._chatQueueProcessing = false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue