posthog-cli 0.5.11

The command line interface for PostHog 🦔
Documentation
1
{"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}