File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
packages/replay-internal/src/coreHandlers Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -14,11 +14,10 @@ export function handleAfterSendEvent(replay: ReplayContainer): AfterSendEventCal
1414 return ;
1515 }
1616
17- const statusCode = sendResponse ? .statusCode ;
17+ const statusCode = sendResponse . statusCode ;
1818
1919 // We only want to do stuff on successful error sending, otherwise you get error replays without errors attached
20- // If not using the base transport, we allow `undefined` response (as a custom transport may not implement this correctly yet)
21- // If we do use the base transport, we skip if we encountered an non-OK status code
20+ // We skip if we encountered an non-OK status code
2221 if ( ! statusCode || statusCode < 200 || statusCode >= 300 ) {
2322 return ;
2423 }
You can’t perform that action at this time.
0 commit comments