断开日志

This commit is contained in:
iioter 2022-11-02 12:33:51 +08:00
parent 340837be91
commit dad9643e29

View File

@ -130,6 +130,7 @@ namespace Plugin
{ {
try try
{ {
_logger.LogError("MQTT CONNECTING FAILED");
await Client.ConnectAsync(_options); await Client.ConnectAsync(_options);
} }
catch (Exception ex) catch (Exception ex)
@ -503,7 +504,6 @@ namespace Plugin
catch (Exception e) catch (Exception e)
{ {
canPub = true; canPub = true;
Console.WriteLine(e);
} }
if (canPub) if (canPub)