From c51afc952c1d042553a908fa61d40355ba655907 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Wed, 4 Dec 2024 13:51:05 -0800 Subject: [PATCH] chore: add comment about ignoring OsErrors in analytics logging --- aider/analytics.py | 1 + 1 file changed, 1 insertion(+) diff --git a/aider/analytics.py b/aider/analytics.py index 294215319..f97b8ff3a 100644 --- a/aider/analytics.py +++ b/aider/analytics.py @@ -219,6 +219,7 @@ class Analytics: "user_id": self.user_id, "time": int(time.time()), } + # ai try/except OsErrors, ignore them AI! with open(self.logfile, "a") as f: json.dump(log_entry, f) f.write("\n")