We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbe4532 commit 31e4cdaCopy full SHA for 31e4cda
packages/replay-internal/src/coreHandlers/handleBeforeSendEvent.ts
@@ -21,7 +21,8 @@ export function handleBeforeSendEvent(replay: ReplayContainer): BeforeSendEventC
21
}
22
23
function handleHydrationError(replay: ReplayContainer, event: ErrorEvent): void {
24
- const exceptionValue = event.exception && event.exception.values && event.exception.values[0].value;
+ const exceptionValue =
25
+ event.exception && event.exception.values && event.exception.values[0] && event.exception.values[0].value;
26
if (typeof exceptionValue !== 'string') {
27
return;
28
0 commit comments