Whoops blank page

I just install new mezzio with command “composer create-project mezzio/mezzio-skeleton mezzio”. Everything run well and test homepage work correctly.

But when i try for error handling, edit file HomePageHandler.php and just erase a semicolon at a line code. I refresh my page and see blank page.

What happen, is there a bug or what… i don’t know…
please help
-alfin-

Whoops, and the error handling in Mezzio in general, can only handle exceptions and throwables. Parsing errors are beyond their scope (as PHP raises those differently).

I created ErrorHeroModule that can handle that via configuration for both mezzio and laminas mvc app: https://github.com/samsonasik/ErrorHeroModule , please read the readme