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.

fix(error-tracking): don't crash issues list when aggregations are missing (#66055)

Xanderc584607fab68
diff --git a/products/error_tracking/frontend/scenes/ErrorTrackingScene/tabs/issues/IssuesList.tsx b/products/error_tracking/frontend/scenes/ErrorTrackingScene/tabs/issues/IssuesList.tsx
index a9c1e555c132..852c4a8af1e1 100644
--- a/products/error_tracking/frontend/scenes/ErrorTrackingScene/tabs/issues/IssuesList.tsx
+++ b/products/error_tracking/frontend/scenes/ErrorTrackingScene/tabs/issues/IssuesList.tsx
@@ -36,9 +36,6 @@ import { ERROR_TRACKING_LISTING_RESOLUTION } from 'products/error_tracking/front
const VolumeColumn: QueryContextColumnComponent = (props) => {
const record = props.record as ErrorTrackingIssue
- if (!record.aggregations) {
- throw new Error('No aggregations found')
- }
const sparklineKey = record.id ?? 'issue-unknown'
const baseData = useSparklineData(record.aggregations, ERROR_TRACKING_LISTING_RESOLUTION)
const { spikeEventsByIssueId } = useValues(batchSpikeEventsLogic)