diff --git a/src/lib/file-uploader.js b/src/lib/file-uploader.js index a0690f2b0..53d0ab8f6 100644 --- a/src/lib/file-uploader.js +++ b/src/lib/file-uploader.js @@ -132,7 +132,10 @@ const costumeUpload = function (fileData, fileType, costumeName, storage, handle addCostumeFromBuffer(new Uint8Array(fileData)); } else { // otherwise it's a bitmap - bitmapAdapter.importBitmap(fileData, fileType).then(addCostumeFromBuffer); + bitmapAdapter.importBitmap(fileData, fileType).then(addCostumeFromBuffer) + .catch(e => { + log.error(e); + }); } };