diff --git a/index.js b/index.js index 4b27091..811767e 100644 --- a/index.js +++ b/index.js @@ -7,10 +7,6 @@ export class NonError extends Error { configurable: true, writable: true, }); - - if (Error.captureStackTrace) { - Error.captureStackTrace(this, NonError); - } } static _prepareSuperMessage(message) {