Skip to content

Commit 8b6f799

Browse files
authored
Update packages/rrweb/src/record/observer.ts
1 parent 4e8d4ba commit 8b6f799

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/rrweb/src/record/observer.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1197,7 +1197,9 @@ function initCustomElementObserver({
11971197
name,
11981198
},
11991199
});
1200-
} catch (e) {}
1200+
} catch (e) {
1201+
console.warn(`Custom element callback failed for ${name}`);
1202+
}
12011203
return original.apply(this, [name, constructor, options]);
12021204
};
12031205
},

0 commit comments

Comments
 (0)