Errors in computed data should report original location of source code in data cascade #4165
dd-pardal
started this conversation in
Enhancement Queue
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
Templating errors in permalinks get logged as templating errors in files, even if the permalink is not defined in the file's front matter.
To Reproduce
Steps to reproduce the behavior:
Create a file named
page.mdwith any content (doesn't need front matter).Create a file named
page.11tydata.json.Insert the following code in
page.11tydata.json:Run
eleventy.Eleventy logs:
Expected behavior
Eleventy to log something like:
Environment:
Additional context
This really confused me, in combination with #1019.
Beta Was this translation helpful? Give feedback.
All reactions