Added error stack to actor association fail.

This commit is contained in:
DebaucheryLibrarian 2024-10-26 22:13:44 +02:00
parent 8fdc313659
commit 2df3213936
2 changed files with 4 additions and 2 deletions

View File

@ -934,7 +934,9 @@ async function associatePeople(releases, batchId, type = 'actor') {
return actors;
} catch (error) {
logger.error(`Failed to associate actors: ${error.message}`);
logger.error(`Failed to associate actors: ${error.message} ${error.stack}`);
logger.error(error);
console.log(error);
return [];
}

View File

@ -39,7 +39,7 @@ unprint.options({
});
unprint.on('requestInit', (event) => logger.debug(`Unprint ${event.method} (${event.interval}ms/${event.concurrency}p) ${event.url}`));
unprint.on('requestError', (event) => logger.error(`Unprint to fetch ${event.url} (${event.status}): ${event.statusText}`));
unprint.on('requestError', (event) => logger.error(`Unprint failed ${event.method} ${event.url} (${event.status}): ${event.statusText}`));
/*
function logActive() {