Added site name to MindGeek session error.
This commit is contained in:
parent
d2d124cccf
commit
e1d6c9e489
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue