Browse Source

ignore all errors on proxy detect

Nicolas Cannasse 13 năm trước cách đây
mục cha
commit
b4ce97d057
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;
 	}