Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "uipath-mcp"
version = "0.0.104"
version = "0.0.105"
description = "UiPath MCP SDK"
readme = { file = "README.md", content-type = "text/markdown" }
requires-python = ">=3.11"
Expand Down
6 changes: 3 additions & 3 deletions src/uipath_mcp/_cli/_runtime/_runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -402,8 +402,8 @@ async def _register(self) -> None:
# Only proceed if initialization was successful
tools_result = await session.list_tools()
# logger.info(tools_result)
except asyncio.TimeoutError:
logger.error("Initialization timed out")
except Exception as err:
logger.error(f"Initialization error: {err}")
# Capture stderr output here, after the timeout
stderr_temp.seek(0)
server_stderr_output = stderr_temp.read()
Expand All @@ -418,7 +418,7 @@ async def _register(self) -> None:
# Now that we're outside the context managers, check if initialization succeeded
if not initialization_successful:
await self._on_runtime_abort()
error_message = "The server process failed to initialize. Verify environment variables are set correctly."
error_message = "The server process failed to initialize."
if server_stderr_output:
error_message += f"\nServer error output:\n{server_stderr_output}"
raise UiPathMcpRuntimeError(
Expand Down
4 changes: 2 additions & 2 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading