mirror of
https://github.com/FlareSolverr/FlareSolverr.git
synced 2025-06-08 12:35:30 +00:00
Improve "Execution context was destroyed" error handling
This commit is contained in:
parent
9dae74bc28
commit
447c8f67a1
@ -73,7 +73,9 @@ export default async function resolveChallenge(url: string, page: Page, response
|
|||||||
} catch (error)
|
} catch (error)
|
||||||
{
|
{
|
||||||
log.debug("Unexpected error: " + error);
|
log.debug("Unexpected error: " + error);
|
||||||
break
|
if (!error.toString().includes("Execution context was destroyed")) {
|
||||||
|
break
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
log.debug('Waiting for Cloudflare challenge...')
|
log.debug('Waiting for Cloudflare challenge...')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user