Closed bradleat closed 4 years ago
https://github.com/hapijs/hoek/blob/e6950f240707bf160bb0eb90a384588bd78225c0/lib/error.js#L21
Can we change this to a conditional capture like:
if(Error.captureStackTrace){ ... }
This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.
https://github.com/hapijs/hoek/blob/e6950f240707bf160bb0eb90a384588bd78225c0/lib/error.js#L21
Can we change this to a conditional capture like: