Update src/PepperDash.Essentials.MobileControl/Touchpanel/MobileControlTouchpanelController.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Neil Dorin 2025-09-23 11:56:57 -06:00 committed by GitHub
parent 258699fbcd
commit ba0de5128f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -200,10 +200,18 @@ namespace PepperDash.Essentials.Touchpanel
this.csSubnetMask = System.Net.IPAddress.Parse(csSubnetMask);
this.csIpAddress = System.Net.IPAddress.Parse(csIpAddress);
}
catch
catch (ArgumentException)
{
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>