Add defensive code
doubleUTF opened this issue · 1 comments
doubleUTF commented
Line 106 in c12fccd
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.
niemyjski commented
Seems like the real issue is that ErrorStackParser is not set, can you submit a test case or snippet that will reproduce this behavior.