Permalink
Browse files

[minor] added reference to the spec

  • Loading branch information...
1 parent 0a05937 commit 903552b0c3fae7380677a927a7121e876c576138 @dscape dscape committed Mar 3, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/errs.js
View
@@ -128,6 +128,7 @@ exports.merge = function (err, type, opts) {
Object.keys(err).forEach(function (key) {
// in node v0.4 v8 errors where treated differently
// we need to make sure we aren't merging these properties
+ // http://code.google.com/p/v8/issues/detail?id=1215
if(['stack', 'type', 'arguments', 'message'].indexOf(key)===-1) {
merged[key] = err[key];
}

0 comments on commit 903552b

Please sign in to comment.