diff --git a/src/Illuminate/Console/Scheduling/Event.php b/src/Illuminate/Console/Scheduling/Event.php index ab3d53106691..98deb5d9f6c0 100644 --- a/src/Illuminate/Console/Scheduling/Event.php +++ b/src/Illuminate/Console/Scheduling/Event.php @@ -405,7 +405,7 @@ protected function ensureOutputIsBeingCapturedForEmail() */ protected function emailOutput(Mailer $mailer, $addresses, $onlyIfOutputExists = false) { - $text = file_get_contents($this->output); + $text = file_exists($this->output) ? file_get_contents($this->output) : ''; if ($onlyIfOutputExists && empty($text)) { return;