diff options
Diffstat (limited to 'lib/handlebars/utils.js')
-rw-r--r-- | lib/handlebars/utils.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/handlebars/utils.js b/lib/handlebars/utils.js index 9b2717c..5c7c2a3 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; |