Skip to content

Commit 3a5abe8

Browse files
committed
fix: Not all console.error shows up in session replay play bar annotations
1 parent 19431d3 commit 3a5abe8

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

packages/app/src/Playbar.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ export default function Playbar({
7575
const isError =
7676
event.severity_text?.toLowerCase() === 'error' ||
7777
event.component === 'error' ||
78+
event.component === 'console' ||
7879
statusCode >= 399;
7980

8081
return {

packages/app/src/SessionSubpanel.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ export default function SessionSubpanel({
365365
offset: 0,
366366
},
367367
filters: [
368-
filteredEventsFilter,
368+
allEventsFilter,
369369
...(where ? [{ type: whereLanguage, condition: where }] : []),
370370
],
371371
}),
@@ -379,7 +379,7 @@ export default function SessionSubpanel({
379379
end,
380380
whereLanguage,
381381
searchedQuery,
382-
filteredEventsFilter,
382+
allEventsFilter,
383383
where,
384384
],
385385
);

0 commit comments

Comments
 (0)