mirror of
https://github.com/anticensority/runet-censorship-bypass.git
synced 2024-11-27 20:03:45 +03:00
Add more error to ignore list
This commit is contained in:
parent
498f35df71
commit
a07ecfeaf2
|
@ -259,7 +259,11 @@
|
||||||
error: "net::ERR_PAC_SCRIPT_FAILED",
|
error: "net::ERR_PAC_SCRIPT_FAILED",
|
||||||
fatal: false,
|
fatal: false,
|
||||||
*/
|
*/
|
||||||
const ifConFail = details.error === 'net::ERR_PROXY_CONNECTION_FAILED';
|
const ifConFail = [
|
||||||
|
'net::ERR_TUNNEL_CONNECTION_FAILED',
|
||||||
|
'net::ERR_PROXY_CONNECTION_FAILED',
|
||||||
|
].includes(details.error);
|
||||||
|
|
||||||
if (ifConFail) {
|
if (ifConFail) {
|
||||||
// Happens if you return neither prixies nor "DIRECT".
|
// Happens if you return neither prixies nor "DIRECT".
|
||||||
// Ignore it.
|
// Ignore it.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user