Skip to content

Commit 5c45a7b

Browse files
Fixed issue with variable name
1 parent b45bba6 commit 5c45a7b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • agent/Modules/MTConnect.NET-AgentModule-MqttRelay

agent/Modules/MTConnect.NET-AgentModule-MqttRelay/Module.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ private async Task Worker()
219219

220220
Log(MTConnectLogLevel.Warning, $"MQTT Relay Connection Error : {ex.Message}");
221221

222-
var current = current.InnerException;
222+
var current = ex.InnerException;
223223

224224
while( current != null )
225225
{

0 commit comments

Comments
 (0)