Skip to content
Draft
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
Original file line number Diff line number Diff line change
Expand Up @@ -2419,7 +2419,7 @@ IReadOnlyList<Type> IInvocationBinder.GetParameterTypes(string methodName)
if (!_hubConnection._handlers.TryGetValue(methodName, out var invocationHandlerList))
{
Log.MissingHandler(_logger, methodName);
return Type.EmptyTypes;
throw new KeyNotFoundException($"Method with name '{methodName}' does not exist.");
}

// We use the parameter types of the first handler
Expand Down
Loading