From 2a0a0d3761d31691c1966b60548f11abbb3ada35 Mon Sep 17 00:00:00 2001 From: "Mr. Stallion" Date: Sun, 28 Jan 2024 14:00:59 -0800 Subject: [PATCH] minor --- learn/profile-cache.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } }