[Modify] Polish it

Output Message as a fatal log and ToString as a debug log.
master
sta 9 years ago
parent 0beba615cc
commit 7bec6fe8ca

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

Loading…
Cancel
Save