Skip to content

Commit

Permalink
Fixed log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
John Simons committed Feb 21, 2014
1 parent e855c83 commit f0485f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/NServiceBus.Core/Faults/Forwarder/FaultManager.cs
Expand Up @@ -50,13 +50,13 @@ void SendFailureMessage(TransportMessage message, Exception e, bool serializatio
//HACK: We need this hack here till we refactor the SLR to be a first class concept in the TransportReceiver
if (RetriesErrorQueue == null)
{
Logger.ErrorFormat("Message has failed FLR and will be moved to the configured error q, ID={0}.", message.Id);
Logger.ErrorFormat("Message with '{0}' id has failed FLR and will be moved to the configured error queue.", message.Id);
}
else
{
var retryAttempt = TransportMessageHelpers.GetNumberOfRetries(message) + 1;

Logger.WarnFormat("Message has failed FLR and will be handed over to SLR for retry attempt: {0}, MessageID={1}.", retryAttempt, message.Id);
Logger.WarnFormat("Message with '{0}' id has failed FLR and will be handed over to SLR for retry attempt {1}.", message.Id, retryAttempt);
}
}
catch (Exception exception)
Expand Down

0 comments on commit f0485f3

Please sign in to comment.