From 89db44bc6af242d52f4da7bb86011999533c1116 Mon Sep 17 00:00:00 2001 From: DD Liu Date: Fri, 23 Aug 2019 17:28:13 -0400 Subject: [PATCH] Give some indication of why asset load failed --- src/import/load-costume.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/import/load-costume.js b/src/import/load-costume.js index a8da72a48..c2195ee91 100644 --- a/src/import/load-costume.js +++ b/src/import/load-costume.js @@ -171,7 +171,8 @@ const fetchBitmapCanvas_ = function (costume, runtime, rotationCenter) { assetMatchesBase: scale === 1 && !textImageElement }; }) - .catch(() => { + .catch(error => { + log.warn(e.name, ': ',e.message); // Clean up the text layer properties if it fails to load delete costume.textLayerMD5; delete costume.textLayerAsset;