Nicolas Cannasse 18 năm trước cách đây
mục cha
commit
7c56cbe7d9
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

@@ -109,7 +109,7 @@ class ProxyDetect {
 		// value ?
 		var rproxy = ~/"ProxyServer"="([^"]+)"/;
 		if( !rproxy.match(content) )
-			throw "Could not find 'ProxyServer'";
+			return null;
 		return parseSettings(rproxy.matched(1));
 	}