فهرست منبع

ignore all errors on proxy detect

Nicolas Cannasse 13 سال پیش
والد
کامیت
b4ce97d057
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      std/neko/net/ProxyDetect.hx

+ 1 - 1
std/neko/net/ProxyDetect.hx

@@ -194,7 +194,7 @@ class ProxyDetect {
 
 	public static function detect() {
 		if( save == null )
-			save = { r : detectAll() };
+			save = { r : try detectAll() catch( e : Dynamic ) null };
 		return save.r;
 	}