From 85fb840575140026098cfc42e69baef7e0824c5b Mon Sep 17 00:00:00 2001 From: DevTekVE Date: Mon, 10 Jun 2024 08:55:23 +0200 Subject: [PATCH] Add debug message for non-supported PC in log_handler A debug message has been added to the log_handler function in the athenad.py file. This message will get triggered when the function is being invoked on a non-supported PC, providing a clearer indication of potential errors due to platform incompatibility. --- selfdrive/athena/athenad.py | 1 + 1 file changed, 1 insertion(+) diff --git a/selfdrive/athena/athenad.py b/selfdrive/athena/athenad.py index 0c5e03c79b..15672b92df 100755 --- a/selfdrive/athena/athenad.py +++ b/selfdrive/athena/athenad.py @@ -632,6 +632,7 @@ def add_log_to_queue(log_path, log_id, is_sunnylink = False): def log_handler(end_event: threading.Event, log_attr_name=LOG_ATTR_NAME) -> None: is_sunnylink = log_attr_name != LOG_ATTR_NAME if PC: + cloudlog.debug("athena.log_handler: Not supported on PC") return log_files = []