Forward load error message from howler.js

This commit is contained in:
Joshua Granick
2017-07-26 18:59:27 -07:00
parent 70e0b973db
commit 16b37aa9d6

View File

@@ -300,9 +300,9 @@ class AudioBuffer {
});
audioBuffer.__srcHowl.on ("loaderror", function () {
audioBuffer.__srcHowl.on ("loaderror", function (id, msg) {
promise.error (null);
promise.error (msg);
});