handlebars.js icon indicating copy to clipboard operation
handlebars.js copied to clipboard

Clearer error message

Open simply-phil-1 opened this issue 6 years ago • 1 comments

throw new _exception2['default']('The partial ' + options.name + ' could not be found');

please include double (or single quotes) around options.name in the error message to make it clearer that is the object that could not be found instead of a verb within the message.

simply-phil-1 avatar Jun 17 '18 20:06 simply-phil-1

add hbs.registerPartials(partialsPath) make sure u add registerPartial(s)

Js4Life avatar Sep 28 '20 06:09 Js4Life