Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix uncaught exception in Logging.cs cause crash. #7

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions shadowsocks-csharp/Controller/GfwListUpdater.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public class GFWListUpdater

private const string GFWLIST_BACKUP_URL = "https://raw.githubusercontent.com/breakwa11/breakwa11.github.io/master/ssr/gfwlist.txt";

private const string GFWLIST_TEMPLATE_URL = "https://raw.githubusercontent.com/breakwa11/breakwa11.github.io/master/ssr/ss_gfw.pac";
private const string GFWLIST_TEMPLATE_URL = "https://raw.githubusercontent.com/petronny/gfwlist2pac/master/gfwlist.pac";

private static string PAC_FILE = PACServer.PAC_FILE;

Expand Down Expand Up @@ -234,4 +234,4 @@ public List<string> ParseResult(string response)
return valid_lines;
}
}
}
}
2 changes: 1 addition & 1 deletion shadowsocks-csharp/Controller/Logging.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public static bool OpenLogFile()

return true;
}
catch (IOException e)
catch (Exception e)
{
Console.WriteLine(e.ToString());
return false;
Expand Down