chore: log

This commit is contained in:
cha0s 2020-06-21 20:56:43 -05:00
parent a906073b91
commit 3ae24411e1

View File

@ -129,7 +129,7 @@ export default class Animated extends decorate(Trait) {
// Bounding box update.
this.entity.updateVisibleBoundingBox();
}).catch((error) => {
console.error(`Failed loading some or all animations.`);
console.error(`Failed loading some or all animations for '${this.entity.uri}'.`);
});
}
@ -159,7 +159,7 @@ export default class Animated extends decorate(Trait) {
});
this.setSpriteScale();
}).catch((error) => {
console.error(`Failed loading some or all animation images.`);
console.error(`Failed loading some or all animation images for '${this.entity.uri}'.`);
});
}