From 75f926d0c6e2ea69e32f57d26040cfa6a85a3ed3 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Sat, 13 Feb 2021 12:00:49 +0100 Subject: [PATCH] Fix missing variable --- assets/js/components/account/export/worker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/components/account/export/worker.js b/assets/js/components/account/export/worker.js index c3f98611..fec2971f 100644 --- a/assets/js/components/account/export/worker.js +++ b/assets/js/components/account/export/worker.js @@ -54,7 +54,7 @@ ComunicWeb.components.account.export.worker = { //Ready to parse data ComunicWeb.components.account.export.worker.parse(data, zip); - }).catch(function(){ + }).catch(e => { ComunicWeb.debug.logMessage("Could not parse personnal data export navigator!"); ComunicWeb.components.account.export.ui.exportFatalError(e); return;