Removed redundant sitename from MindGeek session error.

This commit is contained in:
DebaucheryLibrarian
2021-01-05 16:35:49 +01:00
parent e1d6c9e489
commit e38922f372

View File

@@ -161,7 +161,7 @@ async function getSession(site) {
return { session, instanceToken };
}
throw new Error(`Failed to acquire MindGeek session for '${site.name}': ${res.statusCode}`);
throw new Error(`Failed to acquire MindGeek session (${res.statusCode})`);
}
function scrapeProfile(data, html, releases = [], networkName) {