Skip to content

Commit 6bce7b8

Browse files
committed
Bug fixed.
1 parent 0ec5729 commit 6bce7b8

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
@@ -32,7 +32,7 @@ public static Func<JObject, object> GetHandler(string commandName)
3232
{
3333
if (!_handlers.TryGetValue(commandName, out var handler))
3434
{
35-
throw new InvalidOperation(
35+
throw new InvalidOperationException(
3636
$"Unknown or unsupported command type: {command.type}");
3737
}
3838

0 commit comments

Comments
 (0)