Skip to content

Commit 453868a

Browse files
committed
bug fixed.
1 parent 6bce7b8 commit 453868a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

UnityMcpBridge/Editor/Tools/CommandRegistry.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public static Func<JObject, object> GetHandler(string commandName)
3333
if (!_handlers.TryGetValue(commandName, out var handler))
3434
{
3535
throw new InvalidOperationException(
36-
$"Unknown or unsupported command type: {command.type}");
36+
$"Unknown or unsupported command type: {commandName}");
3737
}
3838

3939
return handler;

0 commit comments

Comments
 (0)