Skip to content
Snippets Groups Projects
Commit 74b99d9f authored by Dorch's avatar Dorch
Browse files

feat: add error log for failed update

Refs #366
parent a05fbd98
No related branches found
No related tags found
1 merge request!237Resolve "PWA: L'application ne se met pas à jour sur Firefox et Safari"
Pipeline #149008 passed
......@@ -61,7 +61,7 @@ export class ServiceWorkerUpdateService {
break;
case 'VERSION_INSTALLATION_FAILED':
console.log("ServiceWorkerUpdateService: VERSION_INSTALLATION_FAILED");
console.log(`Failed to install app version '${evt.version.hash}': ${evt.error}`);
this.notificationService.notify(this.i18nService.localizeText("ERROR_SERVICE_WORKER_INSTALL_FAILED"), 10000);
break;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment