Skip to content

Commit 3e0add3

Browse files
committed
fix: Add exception chaining in mcp.py and make setup.py executable
1 parent 4b6f47e commit 3e0add3

File tree

1 file changed

+1
-1
lines changed
  • src/datapilot/core/mcp_utils

1 file changed

+1
-1
lines changed

src/datapilot/core/mcp_utils/mcp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,4 +173,4 @@ async def list_tools(server_config: dict, command: str, args: list[str], env: di
173173
"tools": mcp_tools,
174174
}
175175
except Exception as e:
176-
raise click.UsageError("Could not connect to MCP server: " + str(e))
176+
raise click.UsageError("Could not connect to MCP server: " + str(e)) from e

0 commit comments

Comments
 (0)