File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
packages/replay-internal/src/util Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,12 @@ export function getHandleRecordingEmit(replay: ReplayContainer): RecordingEmitCa
8585 // When in buffer mode, make sure we adjust the session started date to the current earliest event of the buffer
8686 // this should usually be the timestamp of the checkout event, but to be safe...
8787 if ( replay . recordingMode === 'buffer' && session ) {
88+ DEBUG_BUILD &&
89+ replay . eventBuffer &&
90+ logger . info ( 'Attempting to fetch earliest event from event buffer type: ' , replay . eventBuffer . type ) ;
91+
8892 const earliestEvent = replay . eventBuffer && replay . eventBuffer . getEarliestTimestamp ( ) ;
93+
8994 if ( earliestEvent ) {
9095 DEBUG_BUILD &&
9196 logger . info ( `Updating session start time to earliest event in buffer to ${ new Date ( earliestEvent ) } ` ) ;
You can’t perform that action at this time.
0 commit comments