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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue