chore: hide stackTrace.js from recorded frames (#16242)

This commit is contained in:
Max Schmitt 2022-08-08 23:27:59 +02:00 committed by GitHub
parent dd39ae0b85
commit 57fcb590f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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