Skip to content

Commit a991eba

Browse files
committed
update removed waitForError
1 parent 83e9569 commit a991eba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/replay/src/replay.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ export class ReplayContainer implements ReplayContainerInterface {
490490
// it can prevent loading on the UI. This will cause an increase in short
491491
// replays (e.g. opening and closing a tab quickly), but these can be
492492
// filtered on the UI.
493-
if (!this._waitForError) {
493+
if (this.recordingMode === 'session') {
494494
void this.flushImmediate();
495495
}
496496

0 commit comments

Comments
 (0)