Skip to content

Commit 4e25f54

Browse files
committed
fix: debug, remove cleanup
1 parent 97aeb5b commit 4e25f54

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "uipath-mcp"
3-
version = "0.0.38"
3+
version = "0.0.39"
44
description = "UiPath MCP SDK"
55
readme = { file = "README.md", content-type = "text/markdown" }
66
requires-python = ">=3.10"

src/uipath_mcp/_cli/_runtime/_runtime.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ async def execute(self) -> Optional[UiPathRuntimeResult]:
106106
try:
107107
await session_server.cleanup()
108108
stderr_output = session_server.get_server_stderr()
109+
logger.info(f"stderr_output: {stderr_output}")
109110
if stderr_output:
110111
session_outputs[session_id] = stderr_output
111112
except Exception as e:
@@ -120,7 +121,9 @@ async def execute(self) -> Optional[UiPathRuntimeResult]:
120121
# If there are multiple sessions, use the sessionId as the key
121122
output_result = session_outputs
122123

124+
logger.info(f"Output: {output_result}")
123125
self.result = UiPathRuntimeResult(output=output_result)
126+
logger.info(f"Result: {self.result.model_dump_json()}")
124127
return self.result
125128

126129
except Exception as e:
@@ -138,7 +141,6 @@ async def execute(self) -> Optional[UiPathRuntimeResult]:
138141

139142
finally:
140143
wait_for_tracers()
141-
await self.cleanup()
142144

143145
async def validate(self) -> None:
144146
"""Validate runtime inputs and load MCP server configuration."""

0 commit comments

Comments
 (0)