[REM] website_event_track: pwa registration success log

Not very useful to the average user, and can fill up logs during
tests (mostly 16.1 onwards for some reason but might as well square
up everything).

closes odoo/odoo#137149

X-original-commit: 4461d90e534d7568e6b676913c959d9d083f88fc
Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
This commit is contained in:
Xavier Morel
2023-10-02 08:03:45 +00:00
parent c74d01279e
commit 5dd8159e13
@@ -146,9 +146,6 @@
var scope = this._getScope();
return navigator.serviceWorker
.register(scope + "/service-worker.js", { scope: scope })
.then(function (registration) {
console.info("Registration successful, scope is:", registration.scope);
})
.catch(function (error) {
console.error("Service worker registration failed, error:", error);
});