Log socket errors

Update server binary
This commit is contained in:
Deathmax 2012-01-13 16:45:08 +08:00
parent fcc7cfff50
commit 3ef87534c8
3 changed files with 8 additions and 5 deletions

View file

@ -194,14 +194,17 @@ namespace TShockAPI
return true; return true;
} }
} }
catch (ObjectDisposedException) catch (ObjectDisposedException e)
{ {
Log.Error(e.ToString());
} }
catch (SocketException) catch (SocketException e)
{ {
Log.Error(e.ToString());
} }
catch (IOException) catch (IOException e)
{ {
Log.Error(e.ToString());
} }
return false; return false;
} }

View file

@ -48,5 +48,5 @@ using System.Runtime.InteropServices;
// Build Number // Build Number
// MMdd of the build // MMdd of the build
[assembly: AssemblyVersion("3.4.5.0112")] [assembly: AssemblyVersion("3.4.5.0113")]
[assembly: AssemblyFileVersion("3.4.5.0112")] [assembly: AssemblyFileVersion("3.4.5.0113")]