Skip to content

: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.

879 B
Raw Blame
{
  "$exception_list": [
    {
      "type": "RuntimeException",
      "value": "boom",
      "stacktrace": {
        "type": "raw",
        "frames": [
          {
            "platform": "php",
            "filename": "ExceptionCapture.php",
            "abs_path": "/app/lib/ExceptionCapture.php",
            "lineno": 42,
            "function": "PostHog\\ExceptionCapture::buildParsedException",
            "in_app": true,
            "context_line": "throw new \\RuntimeException('boom');",
            "pre_context": [
              "try {",
              "    $throwLine = __LINE__ + 1;"
            ],
            "post_context": [
              "} catch (\\RuntimeException $e) {",
              "    return [$e, $throwLine];"
            ]
          },
          {
            "platform": "php",
            "in_app": false
          }
        ]
      }
    }
  ]
}