fix(replay): Replace _waitForError with recordingMode
#6489
+25
−23
_waitForError with recordingMode
#6489