mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 16:25:00 +00:00
feat: enable automatic exception capture in Posthog analytics
This commit is contained in:
parent
4bf96aaca0
commit
f3a228c79a
1 changed files with 4 additions and 1 deletions
|
@ -52,7 +52,10 @@ class Analytics:
|
|||
|
||||
# self.mp = Mixpanel(mixpanel_project_token)
|
||||
self.ph = Posthog(
|
||||
project_api_key=posthog_project_api_key, host=posthog_host, on_error=self.posthog_error
|
||||
project_api_key=posthog_project_api_key,
|
||||
host=posthog_host,
|
||||
on_error=self.posthog_error,
|
||||
enable_exception_autocapture=True,
|
||||
)
|
||||
|
||||
def disable(self, permanently):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue