Removed stray console logs.
This commit is contained in:
parent
c2fa571aa0
commit
29ab61e713
|
@ -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)));
|
||||
|
||||
|
|
Loading…
Reference in New Issue