diff --git a/lib/internal/errors.js b/lib/internal/errors.js index ac286a6040ba9a..402377a3a17287 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() {