From 1035089da62d624f90457e450eb56130341df288 Mon Sep 17 00:00:00 2001 From: Yannis JULIENNE Date: Wed, 24 Apr 2024 11:12:47 +0200 Subject: [PATCH] BDE-230: Improve invalid/missing CLID error message --- src/popup/index.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/popup/index.js b/src/popup/index.js index 3f83263c..69785ae0 100644 --- a/src/popup/index.js +++ b/src/popup/index.js @@ -451,11 +451,10 @@ function loadPage(worker) { $('#development-mode-disabled #serverUrl').text(serverLocation); } if (connectSubscription.errorMessage) { - const error = JSON.parse(connectSubscription.errorMessage); const alertText = ` - Cannot retrieve your server connect registration from \`${connectUrl}\`... - ${JSON.stringify(error, null, 2)} - `.replace(/\n/g, '
'); + Cannot retrieve your server registration from \`${connectUrl}\`... +
Most probably your CLID is invalid or missing ! +
(see console logs for mor details)`; Swal.fire({ title: 'Warning',