Nicolas Cannasse %!s(int64=18) %!d(string=hai) anos
pai
achega
ca71686784
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      std/neko/net/ProxyDetect.hx

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

@@ -69,7 +69,7 @@ class ProxyDetect {
 				break;
 			}
 		if( profile == null )
-			throw "Profile not found in "+basedir;
+			return null;
 		var prefs = neko.io.File.getContent(basedir+"/"+profile+"/prefs.js");
 		// enabled ?
 		var r = ~/user_pref\("network\.proxy\.type", 1\);/;