From aa6e42078f269f1ea12fa6de0cc01755f1d457f6 Mon Sep 17 00:00:00 2001 From: Roman Vasilyev Date: Thu, 21 Mar 2019 16:51:25 +0000 Subject: [PATCH] handle template not found error --- context.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/context.go b/context.go index f9ef1509..5e6c0424 100644 --- a/context.go +++ b/context.go @@ -220,6 +220,8 @@ func (context *Context) Execute(name string, result interface{}) { } else { utils.ExitWithMsg(err) } + } else { + utils.ExitWithMsg(err) } context.Result = result