diff --git a/addons/im_livechat/static/src/embed/cors/boot.js b/addons/im_livechat/static/src/embed/cors/boot.js index 05478c7d7f9..316291196d0 100644 --- a/addons/im_livechat/static/src/embed/cors/boot.js +++ b/addons/im_livechat/static/src/embed/cors/boot.js @@ -42,4 +42,8 @@ import { session } from "@web/session"; }, { force: true } ); + // Remove the error service: it fails to identify issues within the shadow + // DOM of the live chat and causes disruption for pages that embed it by + // displaying pop-ups for errors outside of its scope. + registry.category("services").remove("error"); })();