PostHog / posthog

🦔 PostHog provides open-source product analytics, session recording, feature flagging and A/B testing that you can self-host.
https://posthog.com
Other
19.35k stars 1.13k forks source link

chore: capture even less to sentry #23311

Closed pauldambra closed 4 days ago

pauldambra commented 4 days ago

I got turned around because i was using bare status code and was sending too many errors to sentry still

this moves to using descriptive names for the status code and only sending to sentry when we tell a client to stop trying

sentry-io[bot] commented 4 days ago

🔍 Existing Issues For Review

Your pull request is modifying functions with the following pre-existing issues:

📄 File: posthog/api/capture.py

Function Unhandled Issue
get_event UnicodeDecodeError: 'utf-16-le' codec can't decode bytes in position 21438-21439: illegal UTF-16 surrogate ...
Event Count: 4

Did you find this useful? React with a 👍 or 👎