From 7f63dba4aadccedf5f47496d9b4e868c64151f8e Mon Sep 17 00:00:00 2001 From: patrick-motsch Date: Sun, 15 Feb 2026 02:57:02 +0100 Subject: [PATCH] fixed path realEstate and bot connect --- env_dev.env | 2 +- modules/features/teamsbot/browserBotConnector.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/env_dev.env b/env_dev.env index c34afb69..a6e656af 100644 --- a/env_dev.env +++ b/env_dev.env @@ -60,7 +60,7 @@ Feature_SyncDelta_JIRA_DELTA_TOKEN_SECRET = DEV_ENC:Z0FBQUFBQm8xSUpEbm0yRUJ6VUJK # Teamsbot Browser Bot Service # For local testing: run the bot locally with `npm run dev` in service-teams-browser-bot # The bot will connect back to localhost:8000 via WebSocket -TEAMSBOT_BROWSER_BOT_URL = http://localhost:4100 +TEAMSBOT_BROWSER_BOT_URL = https://cae-poweron-shared.redwater-53d21339.switzerlandnorth.azurecontainerapps.io # Debug Configuration APP_DEBUG_CHAT_WORKFLOW_ENABLED = True diff --git a/modules/features/teamsbot/browserBotConnector.py b/modules/features/teamsbot/browserBotConnector.py index 1b594a25..64acc891 100644 --- a/modules/features/teamsbot/browserBotConnector.py +++ b/modules/features/teamsbot/browserBotConnector.py @@ -85,11 +85,11 @@ class BrowserBotConnector: return {"success": False, "error": f"Bot returned {resp.status}: {errorText}"} except aiohttp.ClientError as e: - logger.error(f"Browser Bot connection error: {e}") - return {"success": False, "error": f"Bot connection failed: {str(e)}"} + logger.error(f"Browser Bot connection error ({type(e).__name__}): {e} | URL: {self.botUrl}/api/bot") + return {"success": False, "error": f"Bot connection failed ({type(e).__name__}): {str(e)}"} except Exception as e: - logger.error(f"Browser Bot join error: {e}") - return {"success": False, "error": str(e)} + logger.error(f"Browser Bot join error ({type(e).__name__}): {e!r} | URL: {self.botUrl}/api/bot") + return {"success": False, "error": f"{type(e).__name__}: {str(e) or repr(e)}"} async def leaveMeeting(self, sessionId: str) -> Dict[str, Any]: """Send leave command to the Browser Bot service."""