File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
src/uipath_mcp/_cli/_runtime Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 11[project ]
22name = " uipath-mcp"
3- version = " 0.0.65 "
3+ version = " 0.0.66 "
44description = " UiPath MCP SDK"
55readme = { file = " README.md" , content-type = " text/markdown" }
66requires-python = " >=3.10"
Original file line number Diff line number Diff line change @@ -380,9 +380,12 @@ async def _keep_alive(self) -> None:
380380 """
381381 Heartbeat to keep the runtime available.
382382 """
383- while True :
383+ while not self . _cancel_event . is_set () :
384384 try :
385385 async def on_keep_alive_response (response : CompletionMessage ) -> None :
386+ if response .error :
387+ logger .error (f"Error during keep-alive: { response .error } " )
388+ return
386389 session_ids = response .result
387390 logger .info (f"Active sessions: { session_ids } " )
388391 # If there are no active sessions and this is a sandbox environment
You can’t perform that action at this time.
0 commit comments