Skip to content

feat: add minimum fastapi exception capture repro case #279

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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 a new FastAPI playground to reproduce exception capturing functionality in posthog-python, enabling easier debugging and demonstration of integration issues.

  • New playgrounds/fastapi-exception-capture directory with minimal reproduction case showcasing FastAPI + PostHog exception handling integration
  • Missing essential documentation about environment variables and setup instructions in USAGE.md, crucial for users trying to reproduce the issue
  • Implementation in app.py lacks error boundaries and proper cleanup for PostHog client
  • No validation or sanitization of error data before sending to PostHog, potential security concern
  • Dependencies in pyproject.toml could be more specific with version constraints to ensure reproducible builds

4 files reviewed, 6 comments
Edit PR Review Bot Settings | Greptile

@oliverb123 oliverb123 force-pushed the err/repro-no-capture-issue branch from 2a7b7cf to 2f47c15 Compare July 7, 2025 14:45
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.

1 participant