ParseErrors and Laravel Octane #155
Unanswered
freshleafmedia
asked this question in
Q&A
Replies: 1 comment
-
Any news on this? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When running Laravel via Octane (either Swoole or Roadrunner v3)
ParseError
exceptions cause the server to exit and a completely empty response is returned (aka white screen). The exception is printed to the console but I expected that the exception would be caught and displayed like normal.Repro:
composer create-project laravel/laravel /tmp/laravel-repro
cd /tmp/laravel-repro
composer require laravel/octane
php artisan octane:install
php artisan octane:start --poll
GET /
Expected:
Got:
blank screen
I note that the
octane:start
command prints the exception to the console and then exits:Beta Was this translation helpful? Give feedback.
All reactions