Closed demeralde closed 5 years ago
Any suggestions how? This plugin just forwards the error from the Nunjucks API.
Oh okay. If there's no options to show useful info in the stack trace with the Nunjucks API, that's a limitation.
I don't see how that could be worked around but perhaps there's a way.
On Tue., 10 Apr. 2018, 5:17 pm Sindre Sorhus, notifications@github.com wrote:
Any suggestions how? This plugin just forwards the error from the Nunjucks API.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sindresorhus/gulp-nunjucks/issues/34#issuecomment-380007114, or mute the thread https://github.com/notifications/unsubscribe-auth/AI2lFWdTAfD5bgPuX1oLVgS5arvXczPmks5tnGOrgaJpZM4TNuwA .
Closing. You should open an issue on Nunjucks about this instead.
When an error is thrown by Nunjucks during compilation, no stack trace is given for the source of the error. This makes debugging very difficult.
For example:
Here's the task for my Nunjucks templates: