mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-07-23 20:52:06 +08:00
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.
This commit is contained in:
@@ -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 = []
|
||||
|
||||
Reference in New Issue
Block a user