Skip to content

Commit 0e34652

Browse files
committed
Merge pull request #216 from Yogu/hide-raven-stack-frame
Hide stack frames from raven.js
2 parents e30d4e6 + c5a4724 commit 0e34652

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/raven.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ function normalizeFrame(frame) {
454454
// Now we check for fun, if the function name is Raven or TraceKit
455455
/(Raven|TraceKit)\./.test(normalized['function']) ||
456456
// finally, we do a last ditch effort and check for raven.min.js
457-
/raven\.(min\.)js$/.test(normalized.filename)
457+
/raven\.(min\.)?js$/.test(normalized.filename)
458458
);
459459

460460
return normalized;

0 commit comments

Comments
 (0)