mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 02:05:00 +00:00
chore: add comment about ignoring OsErrors in analytics logging
This commit is contained in:
parent
8fc030ba83
commit
c51afc952c
1 changed files with 1 additions and 0 deletions
|
@ -219,6 +219,7 @@ class Analytics:
|
||||||
"user_id": self.user_id,
|
"user_id": self.user_id,
|
||||||
"time": int(time.time()),
|
"time": int(time.time()),
|
||||||
}
|
}
|
||||||
|
# ai try/except OsErrors, ignore them AI!
|
||||||
with open(self.logfile, "a") as f:
|
with open(self.logfile, "a") as f:
|
||||||
json.dump(log_entry, f)
|
json.dump(log_entry, f)
|
||||||
f.write("\n")
|
f.write("\n")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue