File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
eval_protocol/mcp/execution Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -466,12 +466,13 @@ async def _execute_rollout(
466466 trajectory .control_plane_summary .update ({"error_message" : f"{ failure_reason } " })
467467 try :
468468 await envs .connection_manager .reset_session (session )
469- except : # noqa: E722
470- logger .error (f"Error resetting session { session .session_id } " )
469+ except Exception as e :
470+ logger .warning (f"Failed to reset session { session .session_id } : { type (e ).__name__ } : { e } " , exc_info = True )
471+
471472 try :
472473 await envs .connection_manager .close_session (session )
473- except : # noqa: E722
474- logger .error (f"Error closing session { session .session_id } " )
474+ except Exception as e :
475+ logger .warning (f"Failed to close session { session .session_id } : { type ( e ). __name__ } : { e } " , exc_info = True )
475476 return trajectory
476477
477478 async def _get_control_plane_status (self , session ) -> Optional [Dict [str , Any ]]:
You can’t perform that action at this time.
0 commit comments