We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a8377f commit 2d40d09Copy full SHA for 2d40d09
1 file changed
hatch/cli/cli_mcp.py
@@ -1750,7 +1750,11 @@ def handle_mcp_remove_server(args: Namespace) -> int:
1750
result_reporter.report_result()
1751
return EXIT_ERROR
1752
else:
1753
- print(f"[ERROR] Failed to remove '{server_name}' from any hosts")
+ reporter = ResultReporter("hatch mcp remove-server")
1754
+ reporter.report_error(
1755
+ f"Failed to remove '{server_name}' from any hosts",
1756
+ details=[f"Attempted hosts: {', '.join(target_hosts)}"]
1757
+ )
1758
1759
1760
except Exception as e:
0 commit comments