Update AudioFile.js

fix error
This commit is contained in:
Bartosz Kalinowski 2018-07-14 07:50:00 +02:00 committed by GitHub
parent 41f9277803
commit 264c82fbcb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();
}