This commit is contained in:
harttle
2016-11-16 00:50:21 +08:00
parent 64e9cb7044
commit 03b7ee95ed
3 changed files with 7 additions and 3 deletions
+4
View File
@@ -1323,6 +1323,10 @@ ParseError.prototype = Object.create(Error.prototype);
ParseError.prototype.constructor = ParseError;
function RenderError(e, tpl) {
// return the original render error
if (e instanceof RenderError) {
return e;
}
this.name = this.constructor.name;
this.stack = e.stack;
+2 -2
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "shopify-liquid",
"version": "1.5.0",
"version": "1.5.1",
"description": "A feature-rich Liquid template engine for Node.js and browsers, with compliance with the Ruby version.",
"main": "index.js",
"scripts": {