Cleaned up some warnings.

This commit is contained in:
Filip Maj committed 2019-05-04 20:53:08 -04:00
1 parent 1e4a1cf263
commit 10017b7e8c
27 files changed
+68 -98

No files matched your search

@@ -47,7 +47,7 @@ namespace FFXIVClassic_World_Server
socket.Send(packetBytes);
}
catch (Exception e)
{ Program.Log.Error("Weird case, socket was d/ced: {0}", e); }
{ Program.Log.Error(e, "Weird case, socket was d/ced: {0}"); }
}
}
@@ -59,7 +59,7 @@ namespace FFXIVClassic_World_Server.DataObjects
throw new ApplicationException("Error occured starting listeners, check inner exception", e);
}
}
catch (Exception e)
catch (Exception)
{ Program.Log.Error("Failed to connect"); return false; }
return true;
@@ -76,7 +76,7 @@ namespace FFXIVClassic_World_Server.DataObjects
zoneServerConnection.Send(packetBytes);
}
catch (Exception e)
{ Program.Log.Error("Weird case, socket was d/ced: {0}", e); }
{ Program.Log.Error(e, "Weird case, socket was d/ced: {0}"); }
}
else
{