diff --git a/Assets/Mirror/Transports/SimpleWeb/SimpleWeb/Client/StandAlone/WebSocketClientStandAlone.cs b/Assets/Mirror/Transports/SimpleWeb/SimpleWeb/Client/StandAlone/WebSocketClientStandAlone.cs index 2ca44be04..e4c43d664 100644 --- a/Assets/Mirror/Transports/SimpleWeb/SimpleWeb/Client/StandAlone/WebSocketClientStandAlone.cs +++ b/Assets/Mirror/Transports/SimpleWeb/SimpleWeb/Client/StandAlone/WebSocketClientStandAlone.cs @@ -101,7 +101,7 @@ void ConnectAndReceiveLoop(Uri serverAddress) ReceiveLoop.Loop(config); } catch (ThreadInterruptedException e) { Log.InfoException(e); } - catch (ThreadAbortException e) { Log.Error("[SWT-WebSocketClientStandAlone]: Thread Abort Exception"); } + catch (ThreadAbortException) { Log.Error("[SWT-WebSocketClientStandAlone]: Thread Abort Exception"); } catch (Exception e) { Log.Exception(e); } finally { diff --git a/Assets/Mirror/Transports/SimpleWeb/SimpleWeb/Common/ReceiveLoop.cs b/Assets/Mirror/Transports/SimpleWeb/SimpleWeb/Common/ReceiveLoop.cs index ff5b7108b..b8d192993 100644 --- a/Assets/Mirror/Transports/SimpleWeb/SimpleWeb/Common/ReceiveLoop.cs +++ b/Assets/Mirror/Transports/SimpleWeb/SimpleWeb/Common/ReceiveLoop.cs @@ -72,7 +72,7 @@ public static void Loop(Config config) } } catch (ThreadInterruptedException e) { Log.InfoException(e); } - catch (ThreadAbortException e) { Log.Error("[SWT-ReceiveLoop]: Thread Abort Exception"); } + catch (ThreadAbortException) { Log.Error("[SWT-ReceiveLoop]: Thread Abort Exception"); } catch (ObjectDisposedException e) { Log.InfoException(e); } catch (ReadHelperException e) { Log.InfoException(e); } catch (SocketException e) diff --git a/Assets/Mirror/Transports/SimpleWeb/SimpleWeb/Common/SendLoop.cs b/Assets/Mirror/Transports/SimpleWeb/SimpleWeb/Common/SendLoop.cs index 24c4ce07d..d701aad10 100644 --- a/Assets/Mirror/Transports/SimpleWeb/SimpleWeb/Common/SendLoop.cs +++ b/Assets/Mirror/Transports/SimpleWeb/SimpleWeb/Common/SendLoop.cs @@ -116,7 +116,7 @@ public static void Loop(Config config) Log.Verbose("[SWT-SendLoop]: {0} Not Connected", conn); } catch (ThreadInterruptedException e) { Log.InfoException(e); } - catch (ThreadAbortException e) { Log.Error("[SWT-SendLoop]: Thread Abort Exception"); } + catch (ThreadAbortException) { Log.Error("[SWT-SendLoop]: Thread Abort Exception"); } catch (Exception e) { Log.Exception(e); } finally { diff --git a/Assets/Mirror/Transports/SimpleWeb/SimpleWeb/Server/WebSocketServer.cs b/Assets/Mirror/Transports/SimpleWeb/SimpleWeb/Server/WebSocketServer.cs index 3771f1e05..33a333d1f 100644 --- a/Assets/Mirror/Transports/SimpleWeb/SimpleWeb/Server/WebSocketServer.cs +++ b/Assets/Mirror/Transports/SimpleWeb/SimpleWeb/Server/WebSocketServer.cs @@ -97,7 +97,7 @@ void acceptLoop() } } catch (ThreadInterruptedException e) { Log.InfoException(e); } - catch (ThreadAbortException e) { Log.Error("[SWT-WebSocketServer]: Thread Abort Exception"); } + catch (ThreadAbortException) { Log.Error("[SWT-WebSocketServer]: Thread Abort Exception"); } catch (Exception e) { Log.Exception(e); } } @@ -161,7 +161,7 @@ void HandshakeAndReceiveLoop(Connection conn) ReceiveLoop.Loop(receiveConfig); } catch (ThreadInterruptedException e) { Log.InfoException(e); } - catch (ThreadAbortException e) { Log.Error("[SWT-WebSocketServer]: Thread Abort Exception"); } + catch (ThreadAbortException) { Log.Error("[SWT-WebSocketServer]: Thread Abort Exception"); } catch (Exception e) { Log.Exception(e); } finally {