Nicolas Cannasse hace 18 años
padre
commit
7c56cbe7d9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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));
 	}