Make debugging skinning problems easier

pull/21833/head
Travis Ralston 2021-03-08 19:33:10 -07:00
parent b12cf7912a
commit a5f237dfd6
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ class Skinner {
if (!name) throw new Error(`Invalid component name: ${name}`);
if (this.components === null) {
throw new Error(
"Attempted to get a component before a skin has been loaded."+
`Attempted to get a component (${name}) before a skin has been loaded.`+
" This is probably because either:"+
" a) Your app has not called sdk.loadSkin(), or"+
" b) A component has called getComponent at the root level",