: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
import { EmptyMessage } from 'lib/components/EmptyMessage/EmptyMessage'
import { KnownException } from '../Exception/known-exceptions'
import { ErrorTrackingException } from '../types'
export function EmptyStackTrace({
exception,
knownException,
}: {
exception: ErrorTrackingException
knownException?: KnownException
}): JSX.Element {
return (
<div className="mt-2">
{knownException?.render(exception) ?? (
<div className="border-1 rounded">
<EmptyMessage
title="No stacktrace available"
description="Make sure the SDK is set up correctly or contact support if problem persists"
buttonText="Check documentation"
buttonTo="https://posthog.com/docs/error-tracking/installation"
size="small"
/>
</div>
)}
</div>
)
}