From b603a1081278142237ed7f58ce88c45afbbd81ca Mon Sep 17 00:00:00 2001 From: Michael Jackson Date: Mon, 23 Jan 2012 15:01:13 -0800 Subject: [PATCH] Fixes #155 --- mustache.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mustache.js b/mustache.js index fff1b67..68a0ff2 100644 --- a/mustache.js +++ b/mustache.js @@ -285,7 +285,7 @@ var Mustache = (typeof module !== "undefined" && module.exports) || {}; var openName = sectionStack.length != 0 && sectionStack[sectionStack.length - 1].name; if (!openName || name != openName) { - throw debug(new Error('Section named "' + name + '" was never opened'), template, line, file); + throw debug(new Error('Section named "' + name + '" was never opened'), template, line, options.file); } var section = sectionStack.pop();