[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:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user