mirror of
https://github.com/FlareSolverr/FlareSolverr.git
synced 2026-04-24 17:05:35 +02:00
Improve "Execution context was destroyed" error handling
This commit is contained in:
@@ -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...')
|
||||||
|
|||||||
Reference in New Issue
Block a user