Better guidance when WhenSagaTimesOut is used without previous RequestTimeout#87
Better guidance when WhenSagaTimesOut is used without previous RequestTimeout#87timbussmann merged 1 commit intomasterfrom
Conversation
|
@Particular/nservicebus-maintainers is it safe to assume we will never enqueue a |
|
is this worth a hotfix? What about v6? |
|
I would release it as a patch. Not a hotfix. |
|
Happy to rebase this to current release branch. I added it as a patch because a customer was falling over that exception and didn't know how to resolve it. The consequence was, I received an email. So fixing this would potentially prevent similar interactions in the future because it is much clearer how the API should be called. |
👍 to that. The approach in core was to fix non-criticals on the release branch. I think we should follow that process in testing. |
|
Pre-release doesn't have this problem. It throws an ExpectedInvocation exception. |
|
Let's release this small patch next week? |
|
@danielmarbach should we copy the test over to develop? |
|
If you think there is value in it why not. |
|
5.2.1 is now released |
Who's affected
WhenSagaTimesOutwithout previous call toWhenorWhenHandleSymptoms
will throw a
KeyNotFoundExceptioncoming from theTimeoutManager. The problem is that this exception doesn't guide the user in any way to do the right thing.