mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Simplified exception naming
This commit is contained in:
@@ -263,12 +263,12 @@ namespace GHelper.Peripherals.Mouse
|
||||
OnDisconnect();
|
||||
return null;
|
||||
}
|
||||
catch (System.TimeoutException e)
|
||||
catch (TimeoutException e)
|
||||
{
|
||||
Logger.WriteLine(GetDisplayName() + ": Timeout reading packet " + e.Message);
|
||||
return null;
|
||||
}
|
||||
catch (System.ObjectDisposedException e)
|
||||
catch (ObjectDisposedException)
|
||||
{
|
||||
Logger.WriteLine(GetDisplayName() + ": Channel closed ");
|
||||
OnDisconnect();
|
||||
|
||||
Reference in New Issue
Block a user