Logging exception

This commit is contained in:
noisyfox
2016-12-09 02:17:46 +11:00
parent 2c15520230
commit 566a0fcfa5
2 changed files with 2 additions and 2 deletions
@@ -60,7 +60,8 @@ namespace Shadowsocks.Controller.Service
private void OnException(Exception ex, object state)
{
throw ex;
Logging.LogUsefulException(ex);
Close();
}
private static readonly Regex HttpRequestHeaderRegex = new Regex(@"^([A-Z]+?) ([^\s]+) HTTP/1\.\d$");