diff options
-rw-r--r-- | lib/handlebars/exception.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/handlebars/exception.js b/lib/handlebars/exception.js index af675d9..08ae531 100644 --- a/lib/handlebars/exception.js +++ b/lib/handlebars/exception.js @@ -12,7 +12,7 @@ function Exception(message, node) { message += ' - ' + line + ':' + column; } - let tmp = Error.prototype.constructor.call(this, message, loc && loc.source, line); + let tmp = Error.prototype.constructor.call(this, message); // Unfortunately errors are not enumerable in Chrome (at least), so `for prop in tmp` doesn't work. for (let idx = 0; idx < errorProps.length; idx++) { |