[Modify] Polish it

This commit is contained in:
sta
2021-12-26 22:27:51 +09:00
parent b0e6795658
commit 7be15df2ce

View File

@@ -684,7 +684,7 @@ namespace WebSocketSharp.Server
_listener.Stop (); _listener.Stop ();
} }
catch (Exception ex) { catch (Exception ex) {
_log.Error (ex.Message); _log.Fatal (ex.Message);
_log.Debug (ex.ToString ()); _log.Debug (ex.ToString ());
} }
@@ -692,7 +692,7 @@ namespace WebSocketSharp.Server
_services.Stop (1006, String.Empty); _services.Stop (1006, String.Empty);
} }
catch (Exception ex) { catch (Exception ex) {
_log.Error (ex.Message); _log.Fatal (ex.Message);
_log.Debug (ex.ToString ()); _log.Debug (ex.ToString ());
} }