We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 819a6b2 commit 56cd59cCopy full SHA for 56cd59c
2 files changed
src/sound/html5/HTML5AudioSound.js
@@ -47,9 +47,7 @@ var HTML5AudioSound = new Class({
47
48
if (!this.tags)
49
{
50
- // eslint-disable-next-line no-console
51
- console.warn('Audio cache entry missing: ' + key);
52
- return;
+ throw new Error('There is no audio asset with key "' + key + '" in the audio cache');
53
}
54
55
/**
src/sound/webaudio/WebAudioSound.js
@@ -45,9 +45,7 @@ var WebAudioSound = new Class({
45
46
if (!this.audioBuffer)
0 commit comments