Commit 13c3e342 authored by Savorboard's avatar Savorboard

Fixed bug of the FailedRetryCount does not increase when raised SubscriberNotFoundException. #90

parent 69225414
......@@ -68,6 +68,8 @@ namespace DotNetCore.CAP
AddErrorReasonToContent(message, ex);
++message.Retries; //issue: https://github.com/dotnetcore/CAP/issues/90
await _stateChanger.ChangeStateAsync(message, new FailedState(), connection);
fetched.RemoveFromQueue();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment