Skip to content

Commit 0d25443

Browse files
committed
Avoid exception
1 parent 298614c commit 0d25443

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/firequery-actor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ function ignoreEventParsers() {
475475
var stack = components.stack;
476476
while (stack && counter++ < 10) {
477477
var url = stack.filename;
478-
if (url.indexOf(eventParser) != -1) {
478+
if (url && url.indexOf(eventParser) != -1) {
479479
return true;
480480
}
481481
stack = stack.caller;

0 commit comments

Comments
 (0)