From 319725c33150cdc2403254cfedbb0ed29161fe2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Thu, 13 Apr 2023 11:54:40 +0200 Subject: [PATCH] Add more information on iframe checksum mismatch (#1858) --- assets/js/hooks/js_view/iframe.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/hooks/js_view/iframe.js b/assets/js/hooks/js_view/iframe.js index dc0d262dc..2db596a95 100644 --- a/assets/js/hooks/js_view/iframe.js +++ b/assets/js/hooks/js_view/iframe.js @@ -61,7 +61,7 @@ function verifyIframeSource(iframeUrl) { .then((html) => { if (sha256Base64(html) !== IFRAME_SHA256) { throw new Error( - "The loaded iframe content doesn't have the expected checksum" + `The iframe loaded from ${iframeUrl} doesn't have the expected checksum ${IFRAME_SHA256}` ); } });