diff --git a/lib/handlebars/utils.js b/lib/handlebars/utils.js index 9b2717ca7..5c7c2a3f9 100644 --- a/lib/handlebars/utils.js +++ b/lib/handlebars/utils.js @@ -7,6 +7,8 @@ Handlebars.Exception = function(message) { for (var p in tmp) { if (tmp.hasOwnProperty(p)) { this[p] = tmp[p]; } } + + this.message = tmp.message; }; Handlebars.Exception.prototype = new Error;