Improve log message.

This commit is contained in:
Paulo Gustavo Veiga 2022-03-22 09:01:41 -03:00
parent 954b0cdbe2
commit 56906fd2fd

View File

@ -73,7 +73,7 @@ class ImageIcon extends Icon {
static _getNextFamilyIconId(iconId) { static _getNextFamilyIconId(iconId) {
const familyIcons = ImageIcon._getFamilyIcons(iconId); const familyIcons = ImageIcon._getFamilyIcons(iconId);
$assert(familyIcons != null, 'Family Icon not found!'); $assert(familyIcons != null, `Family Icon not found: ${iconId}`);
let result = null; let result = null;
for (let i = 0; i < familyIcons.length && result == null; i++) { for (let i = 0; i < familyIcons.length && result == null; i++) {