about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2017-02-09T14·32+0100
committerVincent Ambo <tazjin@gmail.com>2017-02-09T14·44+0100
commit4713d565d344d123409dac389c327478b097766a (patch)
treee67bf0ae1c997ac0138f05903bf13334f6b3b5d9
parent25c9ed4adc1234932566c4eb6509acb9171440e2 (diff)
fix templater: Don't fail with two identical stack traces
-rw-r--r--templater/templater.go3
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) {