diff --git a/src/DataBuilder.php b/src/DataBuilder.php index 87fe0c96..43d5bd2e 100644 --- a/src/DataBuilder.php +++ b/src/DataBuilder.php @@ -499,7 +499,7 @@ public function makeFrames($exception, $includeContext) private function addCodeContextToFrame(Frame $frame, $filename, $line) { - if (!file_exists($filename)) { + if (null === $filename || !file_exists($filename)) { return; }