You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using DataItem.FromAddress(addr), it calls PLCAddress.Parse which can throw the exception InvalidAddressException. Either the exceptions from PLCExcpetions.cs should be public, or in this case, DataItem.FromAddress could wrap PLCAddress.Parse with a try/catch:
I guess they should all be public, I'm not even sure why they aren't in the first place... Feel free to submit a PR, otherwise I might be taking it up soon.
When using
DataItem.FromAddress(addr)
, it callsPLCAddress.Parse
which can throw the exceptionInvalidAddressException
. Either the exceptions from PLCExcpetions.cs should be public, or in this case,DataItem.FromAddress
could wrap PLCAddress.Parse with a try/catch:The text was updated successfully, but these errors were encountered: