Skip to content

Commit f204eb4

Browse files
committed
Remove obsolete label
1 parent 415a4ab commit f204eb4

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/ChangeStream.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -202,10 +202,6 @@ private function isResumableError(RuntimeException $exception)
202202
return $exception->hasErrorLabel('ResumableChangeStreamError');
203203
}
204204

205-
if ($exception->hasErrorLabel('NonResumableChangeStreamError')) {
206-
return false;
207-
}
208-
209205
return in_array($exception->getCode(), self::$resumableErrorCodes);
210206
}
211207

0 commit comments

Comments
 (0)