diff options
author | Steven Barth <steven@midlink.org> | 2008-09-02 09:02:13 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-09-02 09:02:13 +0000 |
commit | 765d5b8540edcbbb62bb9242b57930d249b2af09 (patch) | |
tree | ed7dba9fd0bd3abbe3a21de334a0061600b456d5 /libs/web/luasrc | |
parent | 74408bbb74c184b311ffebfbb4db38429c8247c0 (diff) |
libs/web: Fixed a typo in template error handling
Diffstat (limited to 'libs/web/luasrc')
-rw-r--r-- | libs/web/luasrc/template.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/web/luasrc/template.lua b/libs/web/luasrc/template.lua index e78bfb695c..98e60f72b6 100644 --- a/libs/web/luasrc/template.lua +++ b/libs/web/luasrc/template.lua @@ -246,7 +246,7 @@ function Template.render(self, scope) local stat, err = util.copcall(self.template) if not stat then setfenv(self.template, oldfenv) - error("Error in template %s: %s" % {self.name, chunk}) + error("Error in template %s: %s" % {self.name, err}) end -- Reset environment |