mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 21:24:09 +00:00
Update AudioFile.js
fix error
This commit is contained in:
parent
41f9277803
commit
264c82fbcb
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ var AudioFile = new Class({
|
|||
function (e)
|
||||
{
|
||||
// eslint-disable-next-line no-console
|
||||
console.error('Error decoding audio: ' + this.key + ' - ', e.message);
|
||||
console.error('Error decoding audio: ' + this.key + ' - ', e ? e.message : null);
|
||||
|
||||
_this.onProcessError();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue