[Modify] Polish it

Output Message as a fatal log and ToString as a debug log.
This commit is contained in:
sta 2017-03-13 17:19:56 +09:00
parent 0beba615cc
commit 7bec6fe8ca

View File

@ -843,7 +843,9 @@ namespace WebSocketSharp.Server
processRequest (ctx);
}
catch (Exception ex) {
_log.Fatal (ex.ToString ());
_log.Fatal (ex.Message);
_log.Debug (ex.ToString ());
cl.Close ();
}
}