only run extractFramesGecko when required

This commit is contained in:
f0x 2022-10-29 00:41:35 +00:00
parent a84b6eff86
commit 950b35d9c3

View file

@ -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 }
); );
} }