File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/uipath_mcp/_cli/_runtime Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -402,7 +402,7 @@ async def _register(self) -> None:
402402 # Only proceed if initialization was successful
403403 tools_result = await session .list_tools ()
404404 # logger.info(tools_result)
405- except asyncio . TimeoutError :
405+ except Exception :
406406 logger .error ("Initialization timed out" )
407407 # Capture stderr output here, after the timeout
408408 stderr_temp .seek (0 )
@@ -418,7 +418,7 @@ async def _register(self) -> None:
418418 # Now that we're outside the context managers, check if initialization succeeded
419419 if not initialization_successful :
420420 await self ._on_runtime_abort ()
421- error_message = "The server process failed to initialize. Verify environment variables are set correctly. "
421+ error_message = "The server process failed to initialize."
422422 if server_stderr_output :
423423 error_message += f"\n Server error output:\n { server_stderr_output } "
424424 raise UiPathMcpRuntimeError (
You can’t perform that action at this time.
0 commit comments