Created
December 7, 2022 15:23
-
-
Save jeremydmiller/89f4efd86be459dd8aeda37085a8a124 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public Task<InvokeResult> InvokeAsync(MessageContext context, CancellationToken cancellation) | |
{ | |
var handlerAssemblies = context | |
.Runtime | |
.Options | |
.HandlerGraph | |
.Source | |
.Assemblies | |
.Select(x => x.FullName) | |
.Join(", "); | |
throw new NotSupportedException($"No known handler for message type {_messageType.FullNameInCode()}. Wolverine was looking for handlers in assemblies {handlerAssemblies}"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment