Skip to content

Commit

Permalink
BDE-230: Improve invalid/missing CLID error message
Browse files Browse the repository at this point in the history
  • Loading branch information
yjulienne-nuxeo committed Apr 24, 2024
1 parent bf5983d commit 1035089
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/popup/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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, '<br>');
Cannot retrieve your server registration from \`${connectUrl}\`...
<br/>Most probably your CLID is invalid or missing !
<br/>(see console logs for mor details)`;

Swal.fire({
title: 'Warning',
Expand Down

0 comments on commit 1035089

Please sign in to comment.