Skip to content

Commit

Permalink
Forgot to include the new data cascade option in the error messaging #…
Browse files Browse the repository at this point in the history
  • Loading branch information
zachleat committed Sep 27, 2024
1 parent 5815279 commit a16291a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/TemplateMap.js
Original file line number Diff line number Diff line change
Expand Up @@ -749,7 +749,7 @@ You *probably* want to add a file extension to your permalink so that hosts will
Learn more: https://www.zachleat.com/web/trailing-slash/
This is usually but not *always* an error so if you’d like to disable this error message, use \`eleventyConfig.configureErrorReporting({ allowMissingExtensions: true });\``);
This is usually but not *always* an error so if you’d like to disable this error message, add \`eleventyAllowMissingExtension: true\` somewhere in the data cascade for this template or use \`eleventyConfig.configureErrorReporting({ allowMissingExtensions: true });\` to disable this feature globally.`);
e.skipOriginalStack = true;
throw e;
}
Expand Down
2 changes: 1 addition & 1 deletion test/EleventyTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -1550,7 +1550,7 @@ You *probably* want to add a file extension to your permalink so that hosts will
Learn more: https://www.zachleat.com/web/trailing-slash/
This is usually but not *always* an error so if you’d like to disable this error message, use \`eleventyConfig.configureErrorReporting({ allowMissingExtensions: true });\``
This is usually but not *always* an error so if you’d like to disable this error message, add \`eleventyAllowMissingExtension: true\` somewhere in the data cascade for this template or use \`eleventyConfig.configureErrorReporting({ allowMissingExtensions: true });\` to disable this feature globally.`
});
});

Expand Down

0 comments on commit a16291a

Please sign in to comment.