mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-13 20:47:04 +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:
parent
258699fbcd
commit
ba0de5128f
1 changed files with 9 additions and 1 deletions
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue