Show audio error when loading tape.

This commit is contained in:
Will Scullin 2020-08-23 06:36:59 -07:00
parent 8fc980c579
commit 05fcc60c2e
No known key found for this signature in database
GPG Key ID: 9092A5C0A673416B

View File

@ -71,6 +71,8 @@ export default function Tape(io) {
if (done) { if (done) {
done(); done();
} }
}, function(error) {
window.alert(error.message);
}); });
}; };
fileReader.readAsArrayBuffer(file); fileReader.readAsArrayBuffer(file);