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 52e5b95 commit 0f8df81Copy full SHA for 0f8df81
packages/replay/src/coreHandlers/handleGlobalEvent.ts
@@ -48,8 +48,10 @@ export function handleGlobalEventListener(
48
});
49
}
50
51
+ // In cases where a custom client is used that does not support the new hooks (yet),
52
+ // we manually call this hook method here
53
if (afterSendHandler) {
- // Pretend the error had a 200 response so we capture it
54
+ // Pretend the error had a 200 response so we always capture it
55
afterSendHandler(event, { statusCode: 200 });
56
57
0 commit comments