断开日志
This commit is contained in:
parent
340837be91
commit
dad9643e29
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user