Under the hood
Fixed a bug where connected-client wiring errors logged the wrong exception
What
In the code path that adopts a connected MCP client, an error message logged when wiring fails previously referenced an unrelated variable instead of the actual exception that was caught. It now correctly logs the real caught error.
Why
This makes the "connected-client wiring failed" log message actually useful for diagnosing what went wrong, since it now shows the real error instead of an unrelated value.