From 264c82fbcbef8125499c1ba98c9a0c7dbb533cd6 Mon Sep 17 00:00:00 2001 From: Bartosz Kalinowski Date: Sat, 14 Jul 2018 07:50:00 +0200 Subject: [PATCH] Update AudioFile.js fix error --- src/loader/filetypes/AudioFile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }