fixed path realEstate and bot connect

This commit is contained in:
patrick-motsch 2026-02-15 02:57:02 +01:00
parent 5d987e72fe
commit 7f63dba4aa
2 changed files with 5 additions and 5 deletions

View file

@ -60,7 +60,7 @@ Feature_SyncDelta_JIRA_DELTA_TOKEN_SECRET = DEV_ENC:Z0FBQUFBQm8xSUpEbm0yRUJ6VUJK
# Teamsbot Browser Bot Service # Teamsbot Browser Bot Service
# For local testing: run the bot locally with `npm run dev` in service-teams-browser-bot # 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 # 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 # Debug Configuration
APP_DEBUG_CHAT_WORKFLOW_ENABLED = True APP_DEBUG_CHAT_WORKFLOW_ENABLED = True

View file

@ -85,11 +85,11 @@ class BrowserBotConnector:
return {"success": False, "error": f"Bot returned {resp.status}: {errorText}"} return {"success": False, "error": f"Bot returned {resp.status}: {errorText}"}
except aiohttp.ClientError as e: except aiohttp.ClientError as e:
logger.error(f"Browser Bot connection error: {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: {str(e)}"} return {"success": False, "error": f"Bot connection failed ({type(e).__name__}): {str(e)}"}
except Exception as e: except Exception as e:
logger.error(f"Browser Bot join error: {e}") logger.error(f"Browser Bot join error ({type(e).__name__}): {e!r} | URL: {self.botUrl}/api/bot")
return {"success": False, "error": str(e)} return {"success": False, "error": f"{type(e).__name__}: {str(e) or repr(e)}"}
async def leaveMeeting(self, sessionId: str) -> Dict[str, Any]: async def leaveMeeting(self, sessionId: str) -> Dict[str, Any]:
"""Send leave command to the Browser Bot service.""" """Send leave command to the Browser Bot service."""