Ver código fonte

Refactor log messages.

release/3.x.x
Christian Kratky 5 anos atrás
pai
commit
9cc96f1888
1 arquivos alterados com 2 adições e 2 exclusões
  1. +2
    -2
      Source/MQTTnet.Extensions.ManagedClient/ManagedMqttClient.cs

+ 2
- 2
Source/MQTTnet.Extensions.ManagedClient/ManagedMqttClient.cs Ver arquivo

@@ -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
{


Carregando…
Cancelar
Salvar