Update BotService.php
This commit is contained in:
@@ -576,6 +576,9 @@ class BotService {
|
|||||||
try {
|
try {
|
||||||
$this->whatsappService->sendTextMessage($phoneNumber, "🔔 Un asesor está atendiendo su conversación. Por favor, espere su respuesta.");
|
$this->whatsappService->sendTextMessage($phoneNumber, "🔔 Un asesor está atendiendo su conversación. Por favor, espere su respuesta.");
|
||||||
// ignore send errors
|
// ignore send errors
|
||||||
|
} catch (Exception $e) {
|
||||||
|
// Log and continue if notification fails
|
||||||
|
error_log('attendConversation notify failed: ' . $e->getMessage());
|
||||||
}
|
}
|
||||||
|
|
||||||
// Registrar actividad del operador si hay información disponible
|
// Registrar actividad del operador si hay información disponible
|
||||||
|
|||||||
Reference in New Issue
Block a user