diff --git a/envs/monkey_zoo/blackbox/log_handlers/monkey_logs_downloader.py b/envs/monkey_zoo/blackbox/log_handlers/monkey_logs_downloader.py index 26ff851ed..31f87c309 100644 --- a/envs/monkey_zoo/blackbox/log_handlers/monkey_logs_downloader.py +++ b/envs/monkey_zoo/blackbox/log_handlers/monkey_logs_downloader.py @@ -50,6 +50,7 @@ class MonkeyLogsDownloader(object): try: machine_ip = machines[agent.machine_id].network_interfaces[0].ip except IndexError: + LOGGER.error(f"Machine with ID {agent.machine_id} has no network interfaces") machine_ip = "UNKNOWN" start_time = agent.start_time.strftime("%Y-%m-%d_%H-%M-%S")