[Modify] Polish it

Output Message as a fatal log and ToString as a debug log.
This commit is contained in:
sta 2017-03-15 18:09:50 +09:00
parent 555a8d43a6
commit da2287229e

View File

@ -863,7 +863,9 @@ namespace WebSocketSharp.Server
break;
}
catch (Exception ex) {
_log.Fatal (ex.ToString ());
_log.Fatal (ex.Message);
_log.Debug (ex.ToString ());
if (cl != null)
cl.Close ();