Merge pull request 'Only run extractFramesGecko when required' (#4) from f0x-validatem/core:parse-stacktrace-fix into master
Reviewed-on: #4
This commit is contained in:
commit
ff18ea070f
|
@ -99,7 +99,8 @@ function extractFrames(stack) {
|
|||
// TODO: Maybe make this code even more cautious, and match each stacktrace line individually, aborting as soon as any one line cannot be parsed?
|
||||
return defaultValue(
|
||||
extractFramesV8(stack),
|
||||
extractFramesGecko(stack)
|
||||
() => extractFramesGecko(stack),
|
||||
{ evaluate: true }
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue