chore: hide stackTrace.js from recorded frames (#16242)
This commit is contained in:
parent
dd39ae0b85
commit
57fcb590f7
|
|
@ -130,7 +130,7 @@ export function captureStackTrace(rawStack?: string): ParsedStackTrace {
|
|||
return true;
|
||||
if (f.frame.file.startsWith(TEST_DIR_SRC) || f.frame.file.startsWith(TEST_DIR_LIB))
|
||||
return false;
|
||||
if (i && f.frame.file.startsWith(CORE_DIR))
|
||||
if (f.frame.file.startsWith(CORE_DIR))
|
||||
return false;
|
||||
return true;
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue