Browse Source

Make exception a little more user friendly.

tags/0.5.0-vsc
Sahab Yazdani 15 years ago
parent
commit
4ce9029420
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mustache.js

+ 1
- 1
mustache.js View File

@@ -543,7 +543,7 @@ var Mustache = (function(undefined) {
delete state.section;
state.parser = default_parser;
} else {
throw new Error('Unexpected section end tag. Expected: ' + state.section.variable);
throw new Error('Unexpected section end tag "' + variable + '". Expected: ' + state.section.variable);
}
}


Loading…
Cancel
Save