madebyraygun / craft-component-library

Craft CMS Plugin for Component Library
MIT License
4 stars 0 forks source link

Improve handling of PHP errors in context files #35

Open daltonrooney opened 2 months ago

daltonrooney commented 2 months ago

When a php context file contains a syntax error, the component is not output but no additional information is logged. It would be nice if we could display that somewhere, maybe the Compiled Context panel could stream the debug output if the returned value is not an array?