From 4713d565d344d123409dac389c327478b097766a Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Thu, 9 Feb 2017 15:32:14 +0100 Subject: fix templater: Don't fail with two identical stack traces --- templater/templater.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'templater') 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) { -- cgit 1.4.1