[Modify] Polish it
Output Message as a fatal log and ToString as a debug log.
This commit is contained in:
parent
0beba615cc
commit
7bec6fe8ca
@ -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 ();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user