Skip to content

Commit

Permalink
live_agent incorrect resp logging removed from live agent status for …
Browse files Browse the repository at this point in the history
…unsuccessful requests (#1369)
  • Loading branch information
maheshsattala authored Jul 25, 2024
1 parent 94d197e commit 7659149
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion kairon/shared/live_agent/live_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ async def check_live_agent_active(bot_id, userdata: UserMessage):
}
res, status, _, _ = await ActionUtility.execute_request_async(url, 'GET', None, headers)
if status != 200:
logger.error(res.get('message', "Failed to process request"))
return False
return res['data']['status']

Expand Down

0 comments on commit 7659149

Please sign in to comment.