diff --git a/lib/internal/errors.js b/lib/internal/errors.js index dc8f4a13c4..f1835516a7 100644 --- a/lib/internal/errors.js +++ b/lib/internal/errors.js @@ -28,7 +28,6 @@ function makeNodeError(Base) { constructor(key, ...args) { super(message(key, args)); this[kCode] = key; - Error.captureStackTrace(this, NodeError); } get name() {