diff --git a/learn/profile-cache.ts b/learn/profile-cache.ts index ba1604a..48bf84d 100644 --- a/learn/profile-cache.ts +++ b/learn/profile-cache.ts @@ -184,7 +184,7 @@ export class ProfileCache extends AsyncCache { const avatarUrl = match[1].trim(); if (!this.isSafeImageURL(avatarUrl)) { - log.info('portrait.hq.invalid.domain', { url: avatarUrl }); + log.info('portrait.hq.invalid.domain', { name: c.character.name, url: avatarUrl }); return; } @@ -194,7 +194,7 @@ export class ProfileCache extends AsyncCache { parent.send('update-avatar-url', c.character.name, avatarUrl); } - log.info('portrait.hq.url', { url: avatarUrl }); + log.info('portrait.hq.url', { name: c.character.name, url: avatarUrl }); core.characters.setOverride(c.character.name, 'avatarUrl', avatarUrl); } }