|
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.
stacktrace.js/stacktrace.js
Line 106 in c12fccd
Would it be prudent to add defensive code checking here to make sure
ErrorStackParseris not null when this function is being called? In my production, it's possible to invokefromErrorwhenErrorStackParseris not defined, which causes unhandled JS errors.