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

@@ -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\);/;