From 29ab61e713bd706350c3a078abc90b889f11868d Mon Sep 17 00:00:00 2001 From: DebaucheryLibrarian Date: Sat, 26 Oct 2024 01:12:38 +0200 Subject: [PATCH] Removed stray console logs. --- src/actors.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/actors.js b/src/actors.js index 8c711d34..ee3b022f 100755 --- a/src/actors.js +++ b/src/actors.js @@ -617,8 +617,6 @@ async function scrapeProfiles(actor, sources, entitiesBySlug, existingProfilesBy ...actor, }), context, include); - console.log('PROFILE', profile); - if (!profile || typeof profile === 'number') { // scraper returns HTTP code on request failure logger.verbose(`Profile for '${actor.name}' not available on ${label}, scraper returned ${profile}`); throw Object.assign(new Error(`Profile for '${actor.name}' not available on ${label}`), { code: 'PROFILE_NOT_AVAILABLE' }); @@ -715,8 +713,6 @@ async function getActorNames(actorNames) { } async function storeProfiles(profiles) { - console.log('profiles', profiles); - const profilesWithAvatarIds = await associateAvatars(profiles); const actorIds = Array.from(new Set(profiles.map((profile) => profile.actorId)));