From 05fcc60c2e795fb1d413768d479dd0377b840a3a Mon Sep 17 00:00:00 2001 From: Will Scullin Date: Sun, 23 Aug 2020 06:36:59 -0700 Subject: [PATCH] Show audio error when loading tape. --- js/ui/tape.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/ui/tape.js b/js/ui/tape.js index ded5a45..5855b54 100644 --- a/js/ui/tape.js +++ b/js/ui/tape.js @@ -71,6 +71,8 @@ export default function Tape(io) { if (done) { done(); } + }, function(error) { + window.alert(error.message); }); }; fileReader.readAsArrayBuffer(file);