Skip to content

Commit

Permalink
Update packages/rrweb/src/record/observer.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Juice10 authored Nov 7, 2023
1 parent 4e8d4ba commit 8b6f799
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/rrweb/src/record/observer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1197,7 +1197,9 @@ function initCustomElementObserver({
name,
},
});
} catch (e) {}
} catch (e) {
console.warn(`Custom element callback failed for ${name}`);
}
return original.apply(this, [name, constructor, options]);
};
},
Expand Down

0 comments on commit 8b6f799

Please sign in to comment.