zend-mvc icon indicating copy to clipboard operation
zend-mvc copied to clipboard

Fatal error no catch in views

Open wilariz opened this issue 9 years ago • 3 comments

When I have an exception in a "view" from a ViewHelper I recive a generic message : "An error occurred during execution; please try again later. No Exception available" without give me more info about the error.

But when I try same error in "layout" I recive this message "Fatal error: Uncaught Error:" with additional information about the error (trace-files).

How you know, when not have information about error take a lot of time to debug.

Thanks for help

Environment: zf3 + php7 + ZendServer (Migration process of zf2 to zf3)

wilariz avatar Sep 13 '16 00:09 wilariz

I experienced same issue with view helper; we need more verbose error in view helper. I issued about it long time ago

samsonasik avatar Sep 13 '16 04:09 samsonasik

related tweet by @akrabat :

need more verbose

samsonasik avatar Sep 13 '16 08:09 samsonasik

This repository has been closed and moved to laminas/laminas-mvc; a new issue has been opened at https://github.com/laminas/laminas-mvc/issues/22.

weierophinney avatar Dec 31 '19 21:12 weierophinney