Sfoglia il codice sorgente

Refactor log messages.

release/3.x.x
Christian Kratky 5 anni fa
parent
commit
9cc96f1888
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      Source/MQTTnet.Extensions.ManagedClient/ManagedMqttClient.cs

+ 2
- 2
Source/MQTTnet.Extensions.ManagedClient/ManagedMqttClient.cs Vedi File

@@ -364,7 +364,7 @@ namespace MQTTnet.Extensions.ManagedClient
}
catch (Exception exception)
{
_logger.Error(exception, "Unhandled exception while publishing queued application messages.");
_logger.Error(exception, "Error while publishing queued application messages.");
}
finally
{
@@ -424,7 +424,7 @@ namespace MQTTnet.Extensions.ManagedClient
catch (Exception exception)
{
transmitException = exception;
_logger.Error(exception, $"Unhandled exception while publishing application message ({message.Id}).");
_logger.Error(exception, $"Error while publishing application message ({message.Id}).");
}
finally
{


Caricamento…
Annulla
Salva