def METHOD_NAME(segment_name):
  if segment_name is None:
    return []
  try:
    return list(LogReader(segment_name))
  except (AssertionError, ValueError) as e:
    print(f"Error parsing {segment_name}: {e}")
    return []