Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Wolverine/Runtime/Handlers/HandlerGraph.cs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public void ConfigureHandlerForMessage(Type messageType, Action<HandlerChain> co
internal void AddMessageHandler(Type messageType, IMessageHandler handler)
{
// Makes error handling and other configuration work cleanly
if (handler is MessageHandler h)
if (handler is MessageHandler h and not AgentCommandHandler)
{
var chain = new HandlerChain(messageType, this);
h.Chain = chain;
Expand Down
Loading