1
0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2024-06-13 08:29:52 +02:00

Display errors in audio test

This commit is contained in:
kkapsner 2019-02-10 13:00:18 +01:00
parent 6028479649
commit 1fedc4f432

View File

@ -43,6 +43,8 @@
crypto.subtle.digest("SHA-256", data).then(function(hash){ crypto.subtle.digest("SHA-256", data).then(function(hash){
hashNode.textContent = byteArrayToHex(hash); hashNode.textContent = byteArrayToHex(hash);
}, function(error){
hashNode.textContent = error;
}); });
hashSets[set].appendChild(container); hashSets[set].appendChild(container);
} }