:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
{"chunk_id":"00000-00000-00000","file":"error-button-BPm7RXMz.js","mappings":"iVAEA,SAASA,GAAiB,CAChB,MAAAC,EAAQ,IAAI,MAAM,mBAAmB,EAC3CC,MAAAA,EAAQ,iBAAiBD,CAAK,EACxBA,CACV,CAEA,SAAwBE,GAAc,CAClC,aAAQ,SAAO,CAAA,QAAS,IAAMH,IAAkB,SAAgB,mBAAA,CACpE","names":["throwException","error","posthog","ErrorButton"],"sources":["../../src/error-button.tsx"],"sourcesContent":["import { posthog } from 'posthog-js'\n\nfunction throwException() {\n const error = new Error('Exception created')\n posthog.captureException(error)\n throw error\n}\n\nexport default function ErrorButton() {\n return <button onClick={() => throwException()}>Create exception</button>\n}\n"],"version":3}