index.js 233 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 'use strict'; module.exports = function () { var _ = Error.prepareStackTrace; Error.prepareStackTrace = function (_, stack) { return stack }; var stack = new Error().stack.slice(1); Error.prepareStackTrace = _; return stack; };