mirror of
https://github.com/evopro-ag/Sharp7Reactive.git
synced 2025-12-16 11:42:52 +00:00
Added Log For Error Code at connection
This commit is contained in:
@@ -142,7 +142,7 @@ namespace Sharp7.Rx
|
|||||||
throw new InvalidOperationException(StringResources.StrErrorS7DriverNotInitialized);
|
throw new InvalidOperationException(StringResources.StrErrorS7DriverNotInitialized);
|
||||||
|
|
||||||
var errorText = sharp7.ErrorText(errorCode);
|
var errorText = sharp7.ErrorText(errorCode);
|
||||||
|
Logger.LogError($"Error Code {errorCode} {errorText}");
|
||||||
await SetConnectionLostState();
|
await SetConnectionLostState();
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user