Added site name to MindGeek session error.

This commit is contained in:
DebaucheryLibrarian
2021-01-05 16:34:32 +01:00
parent d2d124cccf
commit e1d6c9e489

View File

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