Skip to content

Conversation

@oliverb123
Copy link
Contributor

No description provided.

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Summary

Added type validation in posthog/client.py to ensure only BaseException objects are processed by capture_exception(), preventing potential attribute errors from invalid inputs.

  • Implemented explicit type checking against BaseException in capture_exception to avoid runtime errors when non-exception objects are passed

1 file reviewed, no comments
Edit PR Review Bot Settings | Greptile

@oliverb123 oliverb123 enabled auto-merge (squash) June 13, 2025 19:33
@oliverb123 oliverb123 merged commit 3778eae into master Jun 13, 2025
7 checks passed
@oliverb123 oliverb123 deleted the err/fix-for-capture-tuples-simple branch June 13, 2025 19:36
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.

3 participants