mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-16 13:15:03 +00:00
Update src/PepperDash.Essentials.MobileControl/Touchpanel/MobileControlTouchpanelController.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -200,10 +200,18 @@ namespace PepperDash.Essentials.Touchpanel
|
|||||||
this.csSubnetMask = System.Net.IPAddress.Parse(csSubnetMask);
|
this.csSubnetMask = System.Net.IPAddress.Parse(csSubnetMask);
|
||||||
this.csIpAddress = System.Net.IPAddress.Parse(csIpAddress);
|
this.csIpAddress = System.Net.IPAddress.Parse(csIpAddress);
|
||||||
}
|
}
|
||||||
catch
|
catch (ArgumentException)
|
||||||
{
|
{
|
||||||
Debug.LogInformation("This processor does not have a CS LAN", this);
|
Debug.LogInformation("This processor does not have a CS LAN", this);
|
||||||
}
|
}
|
||||||
|
catch (InvalidOperationException)
|
||||||
|
{
|
||||||
|
Debug.LogInformation("This processor does not have a CS LAN", this);
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
Debug.LogError($"Unexpected exception when checking CS LAN: {ex}", this);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user