class_docstr: This is run on Buildkite runners.
class_docstr_tok: ["This","is","run","on","Buildkite","runners","."]
code: def get_last_logs(self) -> Optional[str]:
      try:
          return self.get_last_logs_ex()
      except Exception as e:
          logger.exception(f"Error fetching logs: {e}")
          return None
  
imports: import abc
  from typing import Dict, Any, Optional, List
  from ray_release.cluster_manager.cluster_manager import ClusterManager
  from ray_release.file_manager.file_manager import FileManager
  from ray_release.reporter.artifacts import DEFAULT_ARTIFACTS_DIR
  from ray_release.util import exponential_backoff_retry
  from ray_release.logger import logger
  from click.exceptions import ClickException
label_desc: Use image node_id 10 for calling the CommandRunner obj's underlying member method code with example usage: obj.get_last_logs() and returns: self, None