diff --git a/src/Illuminate/Foundation/Bootstrap/LoadEnvironmentVariables.php b/src/Illuminate/Foundation/Bootstrap/LoadEnvironmentVariables.php index f67f3cf061c9..599c474c174b 100644 --- a/src/Illuminate/Foundation/Bootstrap/LoadEnvironmentVariables.php +++ b/src/Illuminate/Foundation/Bootstrap/LoadEnvironmentVariables.php @@ -29,7 +29,7 @@ public function bootstrap(Application $app) } catch (InvalidPathException $e) { // } catch (InvalidFileException $e) { - dd('Fatal Error: Values in .env containing spaces must be surrounded by quotes.'); + die('The environment file is invalid: '.$e->getMessage()); } }