gourmet / whoops

CakePHP 3 plugin to support Whoops sexy PHP error handling
http://gourmet.github.io/whoops
MIT License
24 stars 1 forks source link

not work for Exception #12

Closed Oxicode closed 3 years ago

Oxicode commented 7 years ago

image

image

GabrielApG commented 7 years ago

Mesmo problema.

LDSign commented 6 years ago

Any update on this?

Equinoxlimited commented 6 years ago

Because an exception is not an error. If debug = true you will see the missing controller/view etc debug information.

To change what displays you need to create a template in src/Template/Error/missing_controller.ctp or missing_view.ctp

screen shot 2017-10-20 at 3 00 12 pm
Oxicode commented 6 years ago

nothing image

dereuromark commented 6 years ago

Are you using the new Middleware? that will be the reason then. See the new repo https://github.com/dereuromark/cakephp-whoops - if you try that it should help you getting started here.

Exceptions are actually the main thing that should be covered by whoops :) Because the rest is not for the dev, but for end users (and without debug mode then).