Tcsm
2023-05-27 3c0b2d339126e2cb57cb25616a7bc3c9e52c11df
1
2
3
4
5
6
7
8
'use strict';
module.exports = () => {
    const _ = Error.prepareStackTrace;
    Error.prepareStackTrace = (_, stack) => stack;
    const stack = new Error().stack.slice(1);
    Error.prepareStackTrace = _;
    return stack;
};