only run extractFramesGecko when required

parse-stacktrace-fix
f0x 2 years ago
parent a84b6eff86
commit 950b35d9c3

@ -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? // 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( return defaultValue(
extractFramesV8(stack), extractFramesV8(stack),
extractFramesGecko(stack) () => extractFramesGecko(stack),
{ evaluate: true }
); );
} }

Loading…
Cancel
Save