fix templater: Don't fail with two identical stack traces

This commit is contained in:
Vincent Ambo 2017-02-09 15:32:14 +01:00
parent 25c9ed4adc
commit 4713d565d3

View file

@ -23,7 +23,8 @@ type TemplateNotFoundError struct {
// Error that is caused during templating, e.g. required value being absent or invalid template format // Error that is caused during templating, e.g. required value being absent or invalid template format
type TemplatingError struct { type TemplatingError struct {
meep.AllTraits meep.TraitAutodescribing
meep.TraitCausable
} }
func LoadAndPrepareTemplates(include *[]string, exclude *[]string, c *context.Context) (output []string, err error) { func LoadAndPrepareTemplates(include *[]string, exclude *[]string, c *context.Context) (output []string, err error) {