Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions aider/analytics.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,8 @@ def _redact_model_name(self, model):
return model.name.split("/")[0] + "/REDACTED"
return None

def posthog_error(self):
def posthog_error(self, error=None, batch=None):
"""disable posthog if we get an error"""
print("X" * 100)
# https://github.com/PostHog/posthog-python/blob/9e1bb8c58afaa229da24c4fb576c08bb88a75752/posthog/consumer.py#L86
# https://github.com/Aider-AI/aider/issues/2532
self.ph = None
Expand Down