File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -122,6 +122,7 @@ def start(self) -> "MCPClient":
122122 self ._init_future .result (timeout = self ._startup_timeout )
123123 self ._log_debug_with_thread ("the client initialization was successful" )
124124 except futures .TimeoutError as e :
125+ logger .exception ("client initialization timed out" )
125126 # Pass None for exc_type, exc_val, exc_tb since this isn't a context manager exit
126127 self .stop (None , None , None )
127128 raise MCPClientInitializationError (
@@ -161,7 +162,7 @@ async def _set_close_event() -> None:
161162
162163 self ._log_debug_with_thread ("waiting for background thread to join" )
163164 self ._background_thread .join ()
164- self ._log_debug_with_thread ("background thread joined , MCPClient context exited" )
165+ self ._log_debug_with_thread ("background thread is closed , MCPClient context exited" )
165166
166167 # Reset fields to allow instance reuse
167168 self ._init_future = futures .Future ()
You can’t perform that action at this time.
0 commit comments