getgrav / getgrav/grav

Blueprint - Better Error Notification

Open
#641 0 comments 0 reactions 1 assignee Claimed by @mahagr View on GitHub
blueprints enhancement
Dominant language
PHP
Stars
15.7k
Forks
1.4k
Avg merge
1d 2h
Merged PRs (30d)
13

Description

Currently right now if there is an error in a blueprint, for example a theme/blueprints/default.yaml, the only way you know there is an error is because your overrides in the blueprint don't show up. There is no indication of where the error is.
I know symfony does use ParseException error, which usually gives a line number and a near item message.
Knowing part of the issue might be that this goes all the way back to https://github.com/rockettheme/toolbox/tree/develop/File/src.

If there is a solution to this either in the form of the debugger or throwing an exception this would be appreciated.

I also noticed while trying to figure this out, that all the downloaded theme blueprints get parsed.

Regards,
Shawn

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.