diff --git a/src/loader/filetypes/AudioFile.js b/src/loader/filetypes/AudioFile.js index aabc6e0b5..520e2ca4d 100644 --- a/src/loader/filetypes/AudioFile.js +++ b/src/loader/filetypes/AudioFile.js @@ -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(); }