diff options
author | Vincent Ambo <tazjin@gmail.com> | 2017-02-09T14·32+0100 |
---|---|---|
committer | Vincent Ambo <tazjin@gmail.com> | 2017-02-09T14·44+0100 |
commit | 4713d565d344d123409dac389c327478b097766a (patch) | |
tree | e67bf0ae1c997ac0138f05903bf13334f6b3b5d9 /templater | |
parent | 25c9ed4adc1234932566c4eb6509acb9171440e2 (diff) |
fix templater: Don't fail with two identical stack traces
Diffstat (limited to 'templater')
-rw-r--r-- | templater/templater.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/templater/templater.go b/templater/templater.go index 6ca7e6770a06..fc7433ff10e3 100644 --- a/templater/templater.go +++ b/templater/templater.go @@ -23,7 +23,8 @@ type TemplateNotFoundError struct { // Error that is caused during templating, e.g. required value being absent or invalid template format type TemplatingError struct { - meep.AllTraits + meep.TraitAutodescribing + meep.TraitCausable } func LoadAndPrepareTemplates(include *[]string, exclude *[]string, c *context.Context) (output []string, err error) { |