diff --git a/src/VCR/Util/StreamProcessor.php b/src/VCR/Util/StreamProcessor.php index fdebd0445..9a8ba9dcf 100644 --- a/src/VCR/Util/StreamProcessor.php +++ b/src/VCR/Util/StreamProcessor.php @@ -190,7 +190,11 @@ public function stream_tell() public function url_stat($path, $flags) { $this->restore(); - $result = @stat($path); + try { + $result = @stat($path); + } catch (Exception $e) { + $result = false; + } $this->intercept(); return $result; }