Log socket errors
Update server binary
This commit is contained in:
parent
fcc7cfff50
commit
3ef87534c8
3 changed files with 8 additions and 5 deletions
|
|
@ -194,14 +194,17 @@ namespace TShockAPI
|
|||
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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -48,5 +48,5 @@ using System.Runtime.InteropServices;
|
|||
// Build Number
|
||||
// MMdd of the build
|
||||
|
||||
[assembly: AssemblyVersion("3.4.5.0112")]
|
||||
[assembly: AssemblyFileVersion("3.4.5.0112")]
|
||||
[assembly: AssemblyVersion("3.4.5.0113")]
|
||||
[assembly: AssemblyFileVersion("3.4.5.0113")]
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue