Karmabunny / sprout3

SproutCMS: content management and framework
http://getsproutcms.com
GNU General Public License v2.0
24 stars 3 forks source link

Feat/debug things #87

Closed gwillz closed 12 months ago

gwillz commented 1 year ago

When inspecting a page we often tack on a <!-- path/to/template --> comment to help us find our way around. So this does it automatically (within non-production) for each view render.

This PR also has a fatal error handler. It's not something we see a lot of, but it makes prettier error pages of compiling or input errors.

I probably want this in the v3.3 release but I'm twitchy about it for some reason. Any thoughts?

gwillz commented 12 months ago

bump?

gwillz commented 12 months ago

before image

after (dev) image

after (prod) image