mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-01-10 17:08:29 +08:00
Add more information on iframe checksum mismatch (#1858)
This commit is contained in:
parent
971b243f10
commit
319725c331
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ function verifyIframeSource(iframeUrl) {
|
||||||
.then((html) => {
|
.then((html) => {
|
||||||
if (sha256Base64(html) !== IFRAME_SHA256) {
|
if (sha256Base64(html) !== IFRAME_SHA256) {
|
||||||
throw new Error(
|
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}`
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue