Skip to content

Instantly share code, notes, and snippets.

@jeremydmiller
Created December 7, 2022 15:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeremydmiller/89f4efd86be459dd8aeda37085a8a124 to your computer and use it in GitHub Desktop.
Save jeremydmiller/89f4efd86be459dd8aeda37085a8a124 to your computer and use it in GitHub Desktop.
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