posthog-js icon indicating copy to clipboard operation
posthog-js copied to clipboard

feat: start / stop exception autocapture programatically

Open daibhin opened this issue 1 week ago • 4 comments

Problem

We're trying to give people more control over when error tracking exception autocapture is enabled

Changes

Expose a method that allows them to enable and disable exception autocapture via the posthog client

Libraries affected

  • [ ] All of them
  • [x] posthog-js (web)
  • [ ] posthog-js-lite (web lite)
  • [ ] posthog-node
  • [ ] posthog-react-native
  • [ ] @posthog/react
  • [ ] @posthog/ai
  • [ ] @posthog/nextjs-config
  • [ ] @posthog/nuxt
  • [ ] @posthog/rollup-plugin
  • [ ] @posthog/webpack-plugin

daibhin avatar Dec 16 '25 17:12 daibhin