Skip to content

Conversation

@ioannisj
Copy link
Contributor

@ioannisj ioannisj commented Oct 17, 2025

💡 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?

  • Unit tests: TODO

📝 Checklist

  • I reviewed the submitted code.
  • I added tests to verify the changes.
  • I updated the docs if needed.
  • No breaking change or entry added to the changelog.

@ioannisj
Copy link
Contributor Author

Still need to address some feedback on #212, so just looking for a general review on the autocapture approach/config for now 🙏

@ioannisj ioannisj requested a review from marandaneto November 5, 2025 08:38
Copy link
Member

@marandaneto marandaneto left a 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

@ioannisj
Copy link
Contributor Author

ioannisj commented Nov 5, 2025

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

@ioannisj ioannisj merged commit 3a73971 into main Nov 5, 2025
6 checks passed
@ioannisj ioannisj deleted the feat/autocapture-exceptions branch November 5, 2025 13:20
@github-actions
Copy link

github-actions bot commented Nov 5, 2025

Fails
🚫 Please consider adding a changelog entry for the next release.

Instructions and example for changelog

Please add an entry to CHANGELOG.md to the "Next" section. Make sure the entry includes this PR's number.
Example:

## 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 #skip-changelog to the PR description.

Generated by 🚫 dangerJS against adf48db

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.

4 participants