-
Notifications
You must be signed in to change notification settings - Fork 52
feat: autocapture unhandled exceptions #214
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
|
Still need to address some feedback on #212, so just looking for a general review on the autocapture approach/config for now 🙏 |
lib/src/error_tracking/posthog_error_tracking_autocapture_integration.dart
Outdated
Show resolved
Hide resolved
lib/src/error_tracking/posthog_error_tracking_autocapture_integration.dart
Outdated
Show resolved
Hide resolved
lib/src/error_tracking/posthog_error_tracking_autocapture_integration.dart
Outdated
Show resolved
Hide resolved
lib/src/error_tracking/posthog_error_tracking_autocapture_integration.dart
Outdated
Show resolved
Hide resolved
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.
I'd add tests for the new handlers eg isolate etc
otherwise LGTM
Tried adding some but could not find a good way of unit testing these. I'll give it another shot |
Co-authored-by: Manoel Aranda Neto <[email protected]>
Instructions and example for changelogPlease add an entry to ## Next
- autocapture unhandled exceptions ([#214](https://github.com/PostHog/posthog-flutter/pull/214))If none of the above apply, you can opt out of this check by adding |
💡 Motivation and Context
Part of PostHog/posthog#38845
Docs: PostHog/posthog.com#13539
Adds autocapture for Flutter framework and Dart platform unhandled exceptions
💚 How did you test it?
📝 Checklist