Skip to content

Commit

Permalink
add sentry story
Browse files Browse the repository at this point in the history
  • Loading branch information
daibhin committed Dec 20, 2024
1 parent 818b44a commit ed299a1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions frontend/src/lib/components/Errors/ErrorDisplay.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,6 @@ function errorProperties(properties: Record<string, any>): EventType['properties
customer: 'the-customer',
instance: 'https://app.posthog.com',
},
// $exception_message: 'ResizeObserver loop limit exceeded',
// $exception_type: 'Error',
$exception_fingerprint: 'Error',
$exception_personURL: 'https://app.posthog.com/person/the-person-id',
$sentry_event_id: 'id-from-the-sentry-integration',
Expand Down Expand Up @@ -294,6 +292,10 @@ export function WithCymbalErrors(): JSX.Element {
)
}

export function SentryStackTrace(): JSX.Element {
return <ErrorDisplay eventProperties={errorProperties({ $exception_list: [] })} />
}

export function LegacyEventProperties(): JSX.Element {
return (
<ErrorDisplay
Expand Down

0 comments on commit ed299a1

Please sign in to comment.