-
Notifications
You must be signed in to change notification settings - Fork 1.6k
chore: upgrade python package and log exceptions #31062
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Summary
This PR enables exception logging in PostHog by upgrading the posthoganalytics package and configuring it to log captured exceptions.
- Added
posthoganalytics.log_captured_exceptions = True
in/posthog/apps.py
to enable exception logging - Updated posthoganalytics dependency from 3.21.0 to >=3.24.0 in
pyproject.toml
- Works with existing exception autocapture functionality (already enabled with
posthoganalytics.enable_exception_autocapture = True
) - Allows the team to access exception logs even when the web application is unavailable
2 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile
📸 UI snapshots have been updated2 snapshot changes in total. 0 added, 2 modified, 0 deleted:
Triggered by this commit. |
Size Change: -1.44 kB (-0.01%) Total Size: 13.2 MB
|
📸 UI snapshots have been updated1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
Triggered by this commit. |
📸 UI snapshots have been updated1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
Triggered by this commit. |
Problem
We want access to exceptions if the web app isn't available. Let's log them before sending if enabled
Changes
log_captured_exceptions