This repository has been archived on 2024-07-27. You can view files and clone it, but cannot push or open issues or pull requests.
|
'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;
|
|
};
|