|
var stackframes = _filtered(ErrorStackParser.parse(error), opts.filter); |
Would it be prudent to add defensive code checking here to make sure ErrorStackParser is not null when this function is being called? In my production, it's possible to invoke fromError when ErrorStackParser is not defined, which causes unhandled JS errors.