From e447f003a1268e37ccfb73df618f92dbea129418 Mon Sep 17 00:00:00 2001 From: DD Liu Date: Wed, 4 Sep 2019 11:26:23 -0400 Subject: [PATCH] Fix variable name --- src/import/load-costume.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/import/load-costume.js b/src/import/load-costume.js index 55cb292ee..31639f404 100644 --- a/src/import/load-costume.js +++ b/src/import/load-costume.js @@ -172,7 +172,7 @@ const fetchBitmapCanvas_ = function (costume, runtime, rotationCenter) { }; }) .catch(error => { - log.warn(`${e.name}: ${e.message}`); + log.warn(`${error.name}: ${error.message}`); // Clean up the text layer properties if it fails to load delete costume.textLayerMD5; delete costume.textLayerAsset;