Skip to content
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

chore: posthog and sentry exception capture #27836

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

daibhin
Copy link
Contributor

@daibhin daibhin commented Jan 23, 2025

Problem

Realised we had not yet replaced manual exception capture with a wrapping function that sends data to both Sentry and PostHog

Changes

Replace capture_exception from Sentry with an equivalent method in the posthog.exceptions module which also calls PostHog's capture_exception method

Given we don't support the concept of scopes & tagging right now I just ignored them. It feels like our issues will have slightly less context as a result but capturing the exceptions is better than what we have right now

@daibhin daibhin changed the title replace more sentry calls chore: posthog and sentry exception capture Jan 23, 2025
@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

1 snapshot changes in total. 0 added, 1 modified, 0 deleted:

  • chromium: 0 added, 1 modified, 0 deleted (diff for shard 1)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

Copy link
Contributor

Size Change: -5 B (0%)

Total Size: 1.16 MB

ℹ️ View Unchanged
Filename Size Change
frontend/dist/toolbar.js 1.16 MB -5 B (0%)

compressed-size-action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants