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