mirror of
https://github.com/less/less.js.git
synced 2026-01-23 06:07:56 -05:00
Merge branch 'patch-1' of https://github.com/quarterto/less.js into 1.5.0-wip
This commit is contained in:
@@ -19,7 +19,7 @@ tree.JavaScript.prototype = {
|
||||
try {
|
||||
expression = new(Function)('return (' + expression + ')');
|
||||
} catch (e) {
|
||||
throw { message: "JavaScript evaluation error: `" + expression + "`" ,
|
||||
throw { message: "JavaScript evaluation error: " + e.message + " from `" + expression + "`" ,
|
||||
index: this.index };
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user