Bläddra i källkod

Refactor log messages.

release/3.x.x
Christian Kratky 5 år sedan
förälder
incheckning
9cc96f1888
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. +2
    -2
      Source/MQTTnet.Extensions.ManagedClient/ManagedMqttClient.cs

+ 2
- 2
Source/MQTTnet.Extensions.ManagedClient/ManagedMqttClient.cs Visa fil

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


Laddar…
Avbryt
Spara