diff --git a/Patcher/net.cpp b/Patcher/net.cpp index 220764d..ee7e2e4 100644 --- a/Patcher/net.cpp +++ b/Patcher/net.cpp @@ -246,7 +246,7 @@ void detect_proxy(session &http_session, const url &dest_url) } catch (error &e) { - if (e.get_error_code() != ERROR_WINHTTP_AUTODETECTION_FAILED) + if (e.get_error_code() != ERROR_WINHTTP_AUTODETECTION_FAILED && e.get_error_code() != ERROR_WINHTTP_UNABLE_TO_DOWNLOAD_SCRIPT) { auto str = e.format_message(e.get_error_code()); LOG(str);