From 1fedc4f432340220a48898cdf36ac24c1b8448be Mon Sep 17 00:00:00 2001 From: kkapsner Date: Sun, 10 Feb 2019 13:00:18 +0100 Subject: [PATCH] Display errors in audio test --- test/audioTest.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/audioTest.js b/test/audioTest.js index 6fde361..5a4d1fd 100644 --- a/test/audioTest.js +++ b/test/audioTest.js @@ -43,6 +43,8 @@ crypto.subtle.digest("SHA-256", data).then(function(hash){ hashNode.textContent = byteArrayToHex(hash); + }, function(error){ + hashNode.textContent = error; }); hashSets[set].appendChild(container); }